Archive an agent
Requires scope: manage. Soft-deletes the agent (sets status to archived). The address is retained and cannot be reused, and archiving cannot be undone. The agent sends nothing more; mail that reaches it is still received, stored and sent to your webhooks as before, so none is lost. A pause by our abuse-prevention system or for the agent's bounce or complaint rate stays as its pause_reason; one for the workspace's bounce or complaint rate stays until the hourly check finds that rate recovered, and then reads archived_via_api. A test key cannot archive an agent that has a live key tied to it, live mail (sent, scheduled or received) or a draft a live key made (403 live_mode_required).
Request
- Base URL: https://api.mails.ai
- URL: https://api.mails.ai/v1/agents/{id}
- Auth: HTTP bearer
Path parameters
Agent id or name.
Response
The archived agent.
Changes
No recorded changes to this operation across all 1 revision of this API.