Tear down an email sender account across AgentMail, Instantly, and the database. Irreversible.
/api/email/accounts/{id} with the update verb. See Update an email sender account to modify the signature without tearing the account down.<username>@<domain> after deletion. If an agent is deleting an inbox on behalf of a user, confirm with the human first — the only recovery path is picking a different local part.External cleanup is best-effort. Instantly warmup/disable + Instantly account-delete + AgentMail inbox-delete are all best-effort; failures are logged but do not block the DB delete. The only way this endpoint returns 500 is if the final DB delete itself fails.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Email account (accounts.id) UUID.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Account deleted. External resources cleaned up best-effort; DB row guaranteed removed.
true