---
title: "Delete API Key"
method: DELETE
path: "/v0/api-keys/{api_key_id}"
tags: ["APIKeys"]
---

# Delete API Key

`DELETE /v0/api-keys/{api_key_id}`

**CLI:**
```bash
agentmail api-keys delete --api-key-id <api_key_id>
```

## Path parameters

- `api_key_id` string, required — ID of api key.

## Response `204`

## Other responses

- `404`

---

[API](https://skmtc.net/agentmail-to/apis/api-2.md) · [All operations](https://skmtc.net/agentmail-to/apis/api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentmail-to/api-2/revisions/869b7f1c360c/schema)
