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

# Delete API Key

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

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

## Path parameters

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

## Response `204`

## Other responses

- `404`

## Changes

- **2026-07-15** `394ddcdd9c29` — 3 info
  - added the optional property `code` to the response with the `404` status
  - added the optional property `docs` to the response with the `404` status
  - added the optional property `fix` to the response with the `404` status
- **2026-03-31** `27965096e618` — 1 info
  - endpoint added
- **2026-03-28** `8a5b5e92ae2d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/agentmail-to/apis/api/changes/v0/pods/:pod_id/api-keys/:api_key_id/delete.md)

---

[API](https://skmtc.dev/agentmail-to/apis/api.md) · [All operations](https://skmtc.dev/agentmail-to/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentmail-to/api/revisions/394ddcdd9c29/schema)
