# AgentMail Delete API Key

> AgentMail Delete API Key is a free API for AI agents from AgentMail at mpp.api.agentmail.to, Free, status unknown (last checked 2026-10-10).

Deletes a specific API key associated with a pod in AgentMail

## Facts

- Endpoint: DELETE https://mpp.api.agentmail.to/v0/pods/:pod_id/api-keys/:api_key?utm_source=zero.xyz
- Price: Free
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Provider: AgentMail
- Docs: https://docs.agentmail.to
- Website: https://agentmail.to
- Tags: email, inboxes, domains, drafts, threads, webhooks, messaging, ai, social
- Canonical page: https://www.zero.xyz/c/agentmail-api-key-03e3030a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ih7inIvV8-_Veu9JQXbdF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentmail-api-key-03e3030a -d '<json body>'
```

Example prompt: Please delete the API key 'ak_abc123' from my AgentMail pod 'pod_xyz456' — I want to revoke its access immediately.

## When to prefer this

Use this endpoint when you need to revoke or remove a specific API key from an AgentMail pod — for example, when rotating credentials, decommissioning an agent, or responding to a security incident involving a compromised key.

## Known failure modes

- Pod ID not found — 404 not found response
- API key not found within the specified pod — 404 not found response
- Unauthorized request — 401 if the caller lacks permission to manage this pod's API keys
- Invalid pod_id or api_key format — 400 bad request
- Attempting to delete an already-deleted key — may return 404 or idempotent success

## How this service works

Delete API key

## Output

A confirmation that the specified API key has been deleted and is no longer valid for the given pod. Subsequent calls using that key will be rejected.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "title": "Limit",
   "description": "Limit of number of items returned."
  },
  "ascending": {
   "type": "boolean",
   "title": "Ascending",
   "description": "Sort in ascending temporal order."
  },
  "page_token": {
   "type": "string",
   "title": "PageToken",
   "description": "Page token for pagination."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentmail-api-key-03e3030a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mpp.api.agentmail.to](https://www.zero.xyz/host/mpp.api.agentmail.to/llms.txt)
