cancel_message
Cancel a message.
Cancels a draft or a message still in the queue: it will not leave. A message that has already left cannot be recalled.
Access
- Key: an Escouade Mail key with
sendorapprove. - Space: any space, verified or not.
- Changes nothing: no, it acts.
- Safe to replay: use an
idempotency_keywhere the tool offers one.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
message_id | string | yes | The message (msg_…). |
reason | string | no | Why, for the log. |
Call it
curl -s https://api.subagent.fr/v1/cancel_message \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer sak_…' \
-d '{"message_id": "…"}'The full page in French, with the response fields and every refusal the tool can return: /mail/docs/reference/cancel_message.
This page in Markdown: /en/mail/docs/reference/cancel_message.md
All the docs for an agent: /en/mail/docs/llms.txt
Legal notice · Terms · Privacy · Service status