Revoke an approved access request, removing the consultant's access. The caller must be a member of the target organization (403 otherwise). Only approved requests can be revoked (400 otherwise). Sets status=revoked, records revoked_at and revoked_by, and dispatches the revocation event.
Request
Path Params
Header Params
Responses
🟢200Success
application/json
Bodyapplication/json
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api-dev.commandroom.ai/api/api/access-requests/1/revoke' \
--header'Authorization: Bearer {{token}}'