Soft-delete a message
DELETE
https://myagentmail.com/v1/inboxes/{id}/messages/{messageId}For agents View as Markdown
Sets deleted_at. The row stays so thread history doesn't renumber; list queries filter deleted messages out.
Path parameters
idrequired string | Inbox UUID |
messageIdrequired string | Message UUID |
Responses
200Deleted
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.