Skip to main content

Revoke a grant

DELETE 

/rbac/grants/:identifier

Soft-deletes the grant. Sends an access-revoked notification email to the recipient.

  • Refuses to revoke the last Admin grant in the entity (RBAC_CANNOT_REVOKE_LAST_OWNER).
  • Only Admins may revoke Admin grants (RBAC_PERMISSION_DENIED).
  • Attempting to revoke an already-revoked grant returns 409 (RBAC_GRANT_ALREADY_REVOKED).
  • Wrong-entity grants look identical to missing ones (404) — anti-enumeration.

Requires GRANT_DELETE permission.

Request

Responses

Grant revoked