Revoke Api Key
Revoke an API key.
Path Parameters
- Type: string · Key Idkey
_id required
Headers
- enumAcceptconst:application/jsonrequired
Response format. Must be
application/json.values- application/json
Responses
- application/json
- application/json
Request Example for delete/v1/api-keys/{key_id}/revoke
curl 'https://api.uat.koard.com/v1/api-keys/{key_id}/revoke' \
--request DELETE \
--header 'Accept: application/json' \
--header 'x-koard-apikey: YOUR_SECRET_TOKEN'
{
"account_id": "string",
"created_at": "2026-06-22T13:58:38.484Z",
"expires_at": "2026-06-22T13:58:38.484Z",
"id": "string",
"key": "string",
"last_used_at": "2026-06-22T13:58:38.484Z",
"name": "string",
"status": "active"
}
