Launch Week 3: Five days of launches

Revoke Project Invitation

(v2)

DELETE

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.

DELETE/v2/projects/{projectId}/invitations/{invitationId}
curl -X DELETE "https://api.confident-ai.com/v2/projects/{projectId}/invitations/{invitationId}" \
  -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": 42
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The organization API key for your Confident AI organization.

Path parameters

  • projectIdstringRequired

    The id of the project, which must belong to your organization.

  • invitationIdintegerRequired

    The id of the project invitation.

Response

Revoke Project Invitation succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    Confirmation that the invitation is gone and its link can no longer be accepted.

    Show 1 propertyHide 1 property
    • idinteger

      The id of the invitation, generated by Confident AI.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI