Delete invitation

deleteProjectInvitation(projectReference: ID!, invitationId: ID!): DeletionResult!

Requires project.invites.manage; API keys also need delete scope.

Arguments

ArgumentTypeRequiredDescription
projectReferenceID!YesProject UUID or slug.
invitationIdID!YesPending invitation ID in the selected project. An inaccessible or other-project invitation is not_found.

Response

Returns DeletionResult!. Open the type for its fields and nested types.

FieldTypeDescription
okBoolean!Always true: the deletion was accepted.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
mutation DeleteProjectInvitation($projectReference: ID!, $invitationId: ID!) {  deleteProjectInvitation(projectReference: $projectReference, invitationId: $invitationId) {    ok  }}
variables.json
{  "projectReference": "00000000-0000-4000-8000-000000000001",  "invitationId": "00000000-0000-4000-8000-000000000001"}