> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete KEY

> Delete a KEY based on token_id

## Request Parameters

### Request Headers

<ResponseField type="string" required>
  Authentication for the request. This API uses the AIHubMix Manage Key for authentication.
</ResponseField>

<ResponseField type="string">
  The content type of the request. This parameter must be set to application/json.
</ResponseField>

### Path Parameters

<ParamField path="token_id" type="integer" required>
  The ID of the KEY.
</ParamField>

## Response Parameters

<ResponseField name="success" type="boolean">
  Indicates whether the operation was successful.
</ResponseField>

<ResponseField name="message" type="string">
  Message information (may be empty). Returns the reason for failure if the request fails.
</ResponseField>

<ResponseField name="data" type="object">
  The result object of the deletion (as returned by the interface). May be an empty object `{}`.
</ResponseField>

***

Last updated: 2026-06-01
