v1

latestOpenAPI 3.1.02026-07-267724480.0 KB

Delete an API key

Delete one API key by ID for the authenticated account. After deletion, the key value can no longer be used for model requests.

delete/api/token/{id}

Path parameters

idinteger required

Numeric API key ID returned by the list endpoint. Deleting this ID permanently invalidates that key value.

Response

Delete result.

successboolean required

Whether the delete operation succeeded.

messagestring required

Backend status message. The value is usually an empty string on success.

Example response

{
  "success": true
}