---
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}`

## Request

- Base URL: `https://api.agentmail.to`
- URL: `https://api.agentmail.to/v0/pods/{pod_id}/api-keys/{api_key_id}`
- Auth: HTTP bearer

**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`

---

[API](https://skmtc.dev/agentmail-to/apis/agentmail-cli-speakeasy-api.md) - [All operations](https://skmtc.dev/agentmail-to/apis/agentmail-cli-speakeasy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentmail-to/apis/agentmail-cli-speakeasy-api/revisions/869b7f1c360c?raw)
