Launch Week 02 wrapped — explore all five launches

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.

DELETE/v2/organization/invitations/{invitationId}
curl -X DELETE "https://api.confident-ai.com/v2/organization/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

  • invitationIdintegerRequired

    The id of the organization invitation.

Response

Revoke 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