DELETE api/2.0/mail/messages/{messageid}/attachments/{attachmentid}
Deletes the selected attachment from the message with the ID specified in the request
Name |
Description |
Type |
Example |
messageid
sent in url
|
The message id which attachment will be removed.
|
number
|
1234
|
attachmentid
sent in url
|
Specifies attachment id for deleting.
|
number
|
1234
|
DELETE api/2.0/mail/messages/1234/attachments/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
The message id which removed an attachment