Skip to Content
API keys

Revoke an API key

Permissioninference-api-keys:deleteAuthentication
DELETE
/inference/api-keys/{id}

Revokes a key. Its metadata stays available for auditing, and repeating the call is safe. Takes no request body.

See key management.

Authorization

inferenceBearerAuth
headerAuthorizationBearer <token>

Use an Inference API key. Access and keys.

Path Parameters

id*string
Formatuuid

Header Parameters

If-Match?string

Optional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.

Response Body

The key is revoked; repeating the operation is a successful no-op.

Example Request
curl -X DELETE 'https://api.kejue.co/v1/inference/api-keys/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty