Deletes a mail folder
DELETE/v2/users/:email/mailFolders/:id
Deletes a mail folder for the specified user by folder ID. Only empty folders can be deleted. If the folder still contains emails, delete or move the emails first.
Request
Path parameters
email stringrequired
User email address.
id stringrequired
Unique folder identifier.
Response
No response fieldsA successful response contains no documented fields.
Errors
401 | Access is unauthorized. Please check whether the correct authorization token is passed. |
403 | No API access permission. Please complete the relevant authorization on the application management page of the domain administrator. |