WoyraDocs
Get an API key

Delete a mailbox and its mail

DELETE/v1/mailboxes/{id}

Mailboxes · Requires an API key

Irreversible: the mailbox's mail goes with it, which is why suspension exists. Aliases that pointed only at this mailbox are deleted too; aliases with other destinations lose this one.

Parameters

NameInDescription
idrequiredpath

Example

curl -X DELETE https://api.woyra.io/v1/mailboxes/email_01J... \
  -H "Authorization: Bearer $WOYRA_KEY"

Response

204 Deleted.

Errors

StatusCodes
404not_found, product_not_offered

Also in Mailboxes