Cancel a pending invitation
DELETE/invitations/:invitation_id
Withdraws an invitation that has not been accepted. The recipient's link stops working.
Requires the admin role.
Refuses API keys. This endpoint is reachable only by a signed-in
person; an API key receives 403 with the code
unauthorized_principal_kind.
Request
Responses
- 200
- 401
- 403
- 404
- 503
The invitation was cancelled
Not authenticated
An API key was presented (unauthorized_principal_kind), or the caller is not an admin
No such pending invitation in this organization
The platform identity service is unavailable or the organization is not provisioned