---
title: "Stop a session's email address"
method: DELETE
path: "/api/v1/chats/{id}/mail_address"
tags: ["Agent mail"]
---

# Stop a session's email address

`DELETE /api/v1/chats/{id}/mail_address`

## Request

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

Revokes it like any tag: mail to that address is dropped silently, and it can never be revived. 404 when there is none.

## Path parameters

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

## Query parameters

- `holder_id` string

## Response `200`

Revoked.

- object
  - `address` string
  - `tag_id` string
  - `revoked_at` string, date-time

## Other responses

- `401`: Missing or invalid credentials.
- `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)
