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
|
Message ID
|
number
|
1234
|
attachmentid
sent in url
|
Attachment ID
|
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 attachment was removed