---
title: "Forget an address"
method: DELETE
path: "/api/v1/agents/{agent_id}/mail_contacts/{id}"
tags: ["Agent mail"]
---

# Forget an address

`DELETE /api/v1/agents/{agent_id}/mail_contacts/{id}`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/agents/{agent_id}/mail_contacts/{id}`
- Auth: API key in header `api-key`

The holder only. Deletes what waited for it unread.

## Path parameters

- `agent_id` string, required
- `id` string, required

## Query parameters

- `holder_id` string

## Response `200`

OK.

- object

## Other responses

- `401`: Missing or invalid credentials.
- `403`: Only the holder of this address can decide who it hears from.
- `404`: Not found: unknown, not an agent you may manage, or the feature is off.

---

[API](https://skmtc.dev/saltapp/apis/salt-agent-api.md) · [All operations](https://skmtc.dev/saltapp/apis/salt-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/saltapp/apis/salt-agent-api/revisions/a8b8642ab7f8?raw)
