---
title: "Delete API Key"
api: "DELETE /v1/api/keys/{id}"
description: "Delete an API key. The key will immediately stop working for authentication."
---

## Headers
<ParamField header="x-workspace-id" type="string" required>
The unique identifier of the workspace being accessed.
</ParamField>

## Path Parameters

<ParamField path="id" type="string" required>
The unique identifier of the API key to delete.
</ParamField>

## Response Fields

<ResponseField name="success" type="boolean">
Whether the deletion was successful.
</ResponseField>

<ResponseExample>
```json
{
  "success": true
}
```
</ResponseExample>
