API Keys
Revoke an API Key
post/api_keys/{apiKeyID}/revoke
Path parameters
apiKeyIDstring required
Request body
Response
200 OK
Example response
{
"id": "ak_3beecc9c60adb5f9b850e91a8ee1e992",
"type": "api_key",
"subject": "user_2xhFjEI5X2qWRvtV13BzSj8H6Dk",
"name": "MY_SERVICE_API_KEY",
"description": "This is my API Key",
"claims": {
"foo": "bar"
},
"scopes": [
"read",
"write"
],
"revocation_reason": "Revoked by user",
"expiration": 1716883200,
"created_by": "user_2xhFjEI5X2qWRvtV13BzSj8H6Dk",
"last_used_at": 1716883200,
"created_at": 1716883200,
"updated_at": 1716883200
}