Skip to content
Docs
Open Escouade
Documentation contents

Docs › Mail › Tools

delete_inbox

View as .md

Delete an inbox.

Deletes an inbox: its drafts and queued messages are cancelled, and the mail account is deleted if Escouade Mail created it (an inbox attached by an Escouade Mail administrator is only detached). Threads remain readable in the log. Irreversible: pass confirm = true.

Access

  • Key: an Escouade Mail key with manage_inboxes.
  • Space: any space, verified or not.
  • Changes nothing: no, it acts.
  • Safe to replay: use an idempotency_key where the tool offers one.

Parameters

ParameterTypeRequiredDescription
inbox_idstringyesThe inbox to delete (inb_…).
confirmbooleanyesMust be true: deletion is irreversible.

Call it

Terminal
curl -s https://api.subagent.fr/v1/delete_inbox \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer sak_…' \
  -d '{"inbox_id": "…", "confirm": "…"}'

The full page in French, with the response fields and every refusal the tool can return: /mail/docs/reference/delete_inbox.

This page in Markdown: /en/mail/docs/reference/delete_inbox.md All the docs for an agent: /en/mail/docs/llms.txt Legal notice · Terms · Privacy · Service status