---
descriptions:
  delete_api_key:
    id: The ID of the API key to delete.
reference:
  curl:
    - key: delete_api_key
      id: delete_api_key
      url: /reference/authkit/api-keys/delete
      title: '/api_keys/:id'
      type: DELETE
      parameters:
        - (api_key.id)
originalPath: .tmp-workos-clone/packages/docs/content/reference/authkit/api-keys/delete.mdx
---

## Delete API key

Permanently deletes an API key. This action cannot be undone. Once deleted, any requests using this API key will fail authentication.

<CodeBlock referenceId="delete_api_key">
  <CodeBlockTab title="Request" file="delete-api-key" />
</CodeBlock>
