Revoke Invitation
DELETEhttps://api.confident-ai.com/v2/projects/{projectId}/invitations/{invitationId}
Deletes the project invitation, whatever its status, so its link can no longer be accepted and it disappears from the project's invitation list. Only the invitation goes: an invitee who already accepted keeps their place in the project and in the organization, so revoke access by removing them from the project'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/projects/{projectId}/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
projectIdstringRequiredThe id of the project, which must belong to your organization.
invitationIdintegerRequiredThe id of the project 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.