For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete mailbox

Delete a mailbox. The mailbox is soft-deleted and stays restorable for a limited period before it is permanently removed.

Delete mailbox

delete

Delete a mailbox. The mailbox is soft-deleted and stays restorable for a limited period before it is permanently removed.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
mailboxIdstringRequired

Mailbox resource ID

Example: AC1a2b3c4d5e6f7g
Responses
200

Success response

application/json
messagestringOptionalExample: Request accepted
delete/api/mail/v1/mailboxes/{mailboxId}
DELETE /api/mail/v1/mailboxes/{mailboxId} HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "message": "Request accepted"
}

Last updated

Was this helpful?