Revoke Invitation
DELETEhttps://api.confident-ai.com/v2/organization/invitations/{invitationId}
Deletes the invitation, whatever its status, so its link can no longer be accepted and it disappears from the invitation list. Only the invitation goes: an invitee who already accepted keeps their organization membership, so revoke access by removing them from the organization's members instead. Revoking cannot be undone — invite the address again to issue a new invitation with a new token.
curl -X DELETE "https://api.confident-ai.com/v2/organization/invitations/{invitationId}" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"id": 42
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
invitationIdintegerRequiredThe id of the organization invitation.
Response
Revoke Invitation succeeded.
successbooleanIndicates if the request was successful.
dataobjectConfirmation that the invitation is gone and its link can no longer be accepted.
Show 1 propertyHide 1 property
idintegerThe id of the invitation, generated by Confident AI.
deprecatedbooleanIndicates if this endpoint is deprecated.