AppAIGatewayDocs
API referenceAdmin management keys

Revoke a management key

POST
/v1/admin/keys/{id}/revoke

Console session only, and requires the owner or admin role.

Authorization

ConsoleSession
agw_identity_auth.session_token<token>

The console's session cookie. Admin requests from the console also send x-console-request: 1.

In: cookie

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/admin/keys/string/revoke"
{  "key": {    "id": "string",    "organizationId": "string",    "userId": "string",    "name": "string",    "tokenHint": "string",    "enabled": true,    "expiresAt": "string",    "createdAt": "string",    "revokedAt": "string"  }}