Actions27
- Get Mailboxes
- List Mailboxes
- Create Mailbox
- Update Mailbox
- Delete Mailbox
- Get Labels
- List Labels
- Create Label
- Update Label
- Delete Label
- Get Filters
- List Filters
- Create Filter
- Update Filter
- Delete Filter
- Send Email
- Advanced: Login (debug)
- Advanced: Logout (debug)
- Legacy: List Mail APIs
- Legacy: Get Mail Server Version
- Legacy: List Messages
- Legacy: Get Message Detail
- Legacy: Move Message
- Legacy: Mark Read / Unread
- Legacy: Add / Remove Label
- Legacy: Get Account Info
- Legacy: Custom Mail Call
Delete Mailbox
AI-generatedSummary
Delete a mailbox or multiple mailboxes from Synology MailPlus specified by their mailbox IDs.
Inputs
- mailboxIds (required) — A JSON array of mailbox IDs to delete (e.g. [-1, 1, 2]).
- conversationView — Boolean to enable conversation view context for the delete operation, default is false.
Output shape
a JSON object indicating success or failure of the delete request
The response includes the API call's success status and possible error details if deletion fails.
Examples
Example 1: Delete one or more mailboxes by specifying their mailbox IDs in a JSON array, optionally enabling conversation view.
Set 'Mailbox IDs (JSON Array)' to a list of IDs and optionally set 'Conversation View' boolean.
