Skip to Content
SendlySendly
API ReferenceMailboxes

Delete a mailbox

DELETE
/api/mailboxes/{id}

Delete a mailbox and the mail account behind it. Every message it holds is erased, and Sendly keeps no other copy — this is not recoverable from the dashboard or by support. Mail sent to the address afterwards is rejected.

Requires an admin of the project.

Requires the mailboxes:write scope — Create and delete mailboxes on your verified domains.

cookiebetter-auth.session_token<token>

BetterAuth session cookie. Used by the dashboard / browser clients. When present, the active project is taken from the x-project-id header.

id*string
Formatuuid

Response Body

Mailbox deleted

application/json
  1. response
success*true
Value intrue
data*
Example Request
curl -X DELETE 'https://api.sendly.now/api/mailboxes/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "success": true,  "data": {    "deleted": true  }}