# Delete API key

Tool: `veryfront__delete_api_key`

Revoke an API key so that it can no longer authenticate; the key stays listed with status revoked.

## Arguments

| Name         | Type    | Required | Description                      |
| ------------ | ------- | -------- | -------------------------------- |
| `api_key_id` | string  | Yes      | API key ID to delete             |
| `confirm`    | boolean | Yes      | Must be true to confirm deletion |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__delete_api_key",
    "arguments": {
      "api_key_id": "string",
      "confirm": false
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"ok\":true}"
      }
    ],
    "structuredContent": {
      "ok": true
    }
  }
}
```
