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

# Delete API Key

> Delete an API key by its hash. Deleted keys are immediately invalidated.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://api.arouter.ai/api/v1/keys/KEY_HASH \
    -H "Authorization: Bearer lr_mgmt_xxxx"
  ```

  ```go Go theme={null}
  err := client.DeleteKey(ctx, "KEY_HASH")
  ```

  ```typescript Node.js theme={null}
  await router.deleteKey("KEY_HASH");
  ```
</RequestExample>
