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

# Revoke API Key

> Permanently deactivate an API key.

Revoke an API key so it can never be used again. This is immediate and irreversible — any request using this key will start failing right away.

If you just need to rotate a key, create a new one first, update your services, then revoke the old one.

## Authorization

Requires an **organization-level** API key in the `Authorization` header.

## Path Parameters

<ParamField path="key_id" type="string" required>
  The ID of the key to revoke.
</ParamField>

## Response

Returns `204 No Content` on success. No response body.

<RequestExample>
  ```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
  curl -X DELETE https://api.chowder.dev/v1/keys/key_9f8a7b6c \
    -H "Authorization: Bearer chd_sk_your_org_key"
  ```
</RequestExample>

<ResponseExample>
  ```bash 204 theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
  # No content
  ```
</ResponseExample>
