Delete account invitation

deleteAccountInvitation(accountId: ID!, invitationId: ID!): DeletionResult!

Requires account.invitations.manage; API keys also need delete scope.

Arguments

ArgumentTypeRequiredDescription
accountIdID!Yes
invitationIdID!YesInvitation to revoke. Expired or already revoked invitations succeed. Accepted invitations return 409; remove the account membership instead.

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

graphql
mutation DeleteAccountInvitation($accountId: ID!, $invitationId: ID!) {
  deleteAccountInvitation(accountId: $accountId, invitationId: $invitationId) {
    ok
  }
}
json
{
  "accountId": "00000000-0000-4000-8000-000000000001",
  "invitationId": "00000000-0000-4000-8000-000000000001"
}