Revoke an AI grant.
DELETE
/api/admin/ai-grants/{id}
Code sample: Shell / cURL
curl --request DELETE \ --url https://auth.example.com/api/admin/ai-grants/example \ --header 'Authorization: Bearer <token>'Soft-revokes an AI grant by marking it inactive and recording revocation metadata. Already revoked grants return an error.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
AI grant id.
Responses
Section titled “ Responses ”AI grant revoke response.
Media type application/json
object
message
required
string
key
additional properties
Example
{ "message": "AI grant revoked successfully"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}