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

# Revoke API Key

> Permanently delete an API key by ID. After revocation, the key can no longer authenticate requests.

Use this endpoint to revoke an API key immediately. Once deleted, any requests using the former key will receive an authentication error.

## Endpoint

```http theme={null}
DELETE /v1/api-keys/{id}
```

## Authentication

Pass one of `Authorization: Bearer <api-key>` or `Authorization: ApiKey <key>`.

## Path Parameters

<ParamField path="id" type="string" required>
  The API key identifier.
</ParamField>

## Response

Returns `204 No Content` on success.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://agent.example.com/v1/api-keys/key_01E \
    -H "Authorization: Bearer <api-key>"
  ```
</RequestExample>

<ResponseExample>
  ```json 204 theme={null}
  ```
</ResponseExample>


## Related topics

- [Revoke ROUTER API Key API](/api-reference/router/keys/revoke.md)
- [Create, rotate, and revoke your API keys](/guides/manage-api-keys.md)
- [API keys for gateway and model access](/concepts/api-keys.md)
- [PIN Delete API Key](/api-reference/pin/apikeys/delete.md)
- [AGENT API Authentication: Bearer and ApiKey](/api-reference/agent/authentication.md)
