Skip to main content
Mutation

revokeSpaceInvite

Cancels a pending membership invite so it can no longer be accepted. Requires the admin or owner role in the space; an admin can only cancel invites for members.

Arguments

  • inviteIdID!

    ID of the pending invite.

  • spaceIdID!

    ID of the space.

Returns

MutationSuccess!

Example

mutation RevokeSpaceInvite($inviteId: ID!, $spaceId: ID!) {
  revokeSpaceInvite(inviteId: $inviteId, spaceId: $spaceId) {
    success
  }
}