> ## 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 ROUTER API Key API

> Immediately revoke an API key in the Aria Compute ROUTER by its identifier. The key becomes invalid for all subsequent requests.

Use the Revoke Key endpoint to permanently invalidate an existing API key. After revocation, any request using that key will return an authentication error. The action is immediate and irreversible.

Any authenticated caller may invoke this endpoint, but the caller cannot revoke a key with higher scope privileges than their own.

## Endpoint

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

## Authentication

Authenticate with a session cookie or pass `Authorization: Bearer <api-key>`.

## Path Parameters

<ParamField path="id" type="string" required>
  Unique identifier of the API key to revoke.
</ParamField>

## Response

A successful revocation returns HTTP 204 with no response body.

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

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


## Related topics

- [Revoke API Key](/api-reference/agent/api-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)
