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

# Delete Api Key V1

> Permanently revoke an API key. A key can delete itself — the response still reaches the caller, but every subsequent request with that key will 401…

Permanently revoke an API key.

A key can delete itself — the response still reaches the caller, but
every subsequent request with that key will 401. Use this rather
than `is_active=false` if you want the row gone entirely.

### Path parameters

<ParamField path="key_id" type="string (uuid)" required />

### Response

No response body. Successful Response.

### Status codes

| Code  | Meaning             |
| ----- | ------------------- |
| `204` | Successful Response |
| `422` | Validation Error    |

<RequestExample>
  ```bash cURL theme={null}
  curl --request DELETE \
    --url 'https://api.computer.stateset.app/api/v1/keys/{key_id}' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>
