Revoke Project Invitation
(v2)DELETE
Deletes the project invitation, whatever its status, so its link can no longer be accepted. Only the invitation goes: an invitee who already accepted keeps their place in the project and the organization, so revoke access by removing them from the project's members instead. This 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 Project 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.