Skip to main content
DELETE
cURL
Revokes an invitation from the workspace side. Revoking takes the invitee out of the organization, so a workspace admin can only revoke an invitation that stays entirely inside their workspace: one issued in this workspace, whose invitee is in no other workspace.
Revoking removes the invitee’s pending membership with every group and grant it carries. If the invitation was the only reason that person existed in Nekt, the account is deleted too. This cannot be undone.

Shared invitations

When an invitation reaches beyond this workspace, the endpoint answers 409 with the code invitation_shared. The List Workspace Invitations response flags these in advance with shared: true. An organization owner or admin revokes them through Revoke an Invitation.

Example

Response

204 No Content.

Authentication

This endpoint requires an API key created by a workspace admin of the key’s workspace. Organization owners and admins are admins of every workspace.

Errors

Authorizations

x-api-key
string
header
required

API Key authentication. Format: 'x-api-key: api_key'

Path Parameters

id
string<uuid>
required

The invitation's id.

Response

204

No response body