Messages
Delete all messages
Permanently delete every message in a folder (empty the folder).
delete/api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages
Request
- Base URL: https://api.mail.hostinger.com
- URL: https://api.mail.hostinger.com/api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages
- Auth: HTTP bearer
Path parameters
mailboxResourceIdstring required
Resource ID of the managed mailbox the bearer token is authorized for.
folderstring required
Folder path (URL-encoded).
Response
Messages deleted successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.