Mail API reference

Mail API · Messages

delete/v1/workspaces/{workspace_id}/mailboxes/{id}/messages/{mid}Auth

Soft-delete a message

Path parameters

workspace_id*string · uuid

Id of the workspace.

id*string · uuid

Id of the mailboxe.

mid*string · uuid

Id of the message in the mailbox.

Response · 204

Message soft-deleted

Example

Request

DELETE https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/mailboxes/{id}/messages/{mid}
Authorization: Bearer YOUR_TOKEN