/v1/workspaces/{workspace_id}/mailboxes/{id}AuthSoft-delete a mailbox: its status becomes `disabled` and it stops accepting new mail; existing messages are kept until retention purges them, and `PATCH` with `status: active` restores it. A deleted mailbox no longer blocks deleting its domain, and deleting the domain erases it and its remaining mail.
Path parameters
workspace_id*string · uuidId of the workspace.
id*string · uuidId of the mailboxe.
Response · 204
Mailbox soft-deleted.
Example
Request
DELETE https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/mailboxes/{id}
Authorization: Bearer YOUR_TOKEN