Gamma API

Cancel a project invitation

DELETE
/api/projects/{projectId}/invitations/{invitationId}

A pending one; 404 for any other.

Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

projectId*string

The project's id.

invitationId*string

Response Body

Done; no content.

Example Request
curl -X DELETE 'http://localhost:3000/api/projects/string/invitations/string'
Example Response
Empty