CentralCSP
APIInvitations

Revoke an invitation

Cancels a pending invitation. Its link stops working right away.

Requires the admin role on the workspace.

DELETE
/v1/workspaces/{workspaceId}/invitations/{invitationId}

Authorization

headerAuthorizationBearer <JWT>

An OpenID Connect access token from signing in to CentralCSP, acting as the signed-in user.

Path Parameters

workspaceId*string

The workspace's id.

invitationId*string

The invitation's id.

Response Body

The invitation is revoked.

Example Request
curl -X DELETE 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/invitations/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90'
Example Response
Empty