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

# Revoke API Key

> Permanently revokes an API key. Revocation is immediate and irreversible.

## Path parameters

<ParamField path="projectId" type="string" required />

<ParamField path="envId" type="string" required />

<ParamField path="keyId" type="string" required />

<RequestExample>
  ```bash theme={null}
  curl -X DELETE https://nest.feather.mupeni.dev/v1/projects/proj_01hx.../environments/env_01hx.../api-keys/key_01hx... \
    -H "Authorization: Bearer <server_key>"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "key_01hx...",
    "revokedAt": "2024-05-01T10:00:00.000Z"
  }
  ```

  ```json 404 theme={null}
  {
    "error": { "code": "RESOURCE_NOT_FOUND", "message": "API key not found." }
  }
  ```
</ResponseExample>
