cURL
curl --request POST \ --url https://app.getcensus.com/api/v1/invitations/{invitation_id}/revoke \ --header 'Authorization: Bearer <token>'
{ "status": "revoked" }
Revoke an unclaimed invitation so it can no longer be used.
Bearer authorization using your Personal Access Token. Generate a new PAT on your user settings page.
ID of the invitation
Successfully revoked the invitation.
"revoked"
Was this page helpful?