---
title: "Delete an agent key"
method: DELETE
path: "/v1/inboxes/{inbox_id}/identity/keys/{kid}"
tags: ["Identity"]
---

# Delete an agent key

`DELETE /v1/inboxes/{inbox_id}/identity/keys/{kid}`

## Request

- Base URL: `https://api.deadsimple.email`
- URL: `https://api.deadsimple.email/v1/inboxes/{inbox_id}/identity/keys/{kid}`
- Auth: HTTP bearer

Assertions signed by this key are refused from now on. SDK `identity.delete_key` / `identity.deleteKey`.

## Path parameters

- `inbox_id` string, required
- `kid` string, required

## Response `204`

Deleted.

## Other responses

- `404`: Key not found on this inbox.

---

[API](https://skmtc.dev/deadsimple/apis/dead-simple-email-api.md) · [All operations](https://skmtc.dev/deadsimple/apis/dead-simple-email-api/llms.txt) · [OpenAPI document](https://skmtc.dev/deadsimple/apis/dead-simple-email-api/revisions/c697881be131?raw)
