Removes all the messages from the trash or spam folder.
Name | Description | Type | Example |
folderid
sent in url
|
Folder ID: 4 - Trash, 5 - Spam | number | 1234 |
DELETE api/2.0/mail/folders/1234/messages Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json
Folder ID