RemoveAttachment
This operation is part of the Email API section of the Web Services API.
Overview
Removes an attachment from the specified email.
Request URL | /api/v2/me/emails/{id} |
---|---|
HTTP Method | POST |
Required Features | api-multimedia |
Parameters
Parameter | Value |
---|---|
operationName | RemoveAttachment |
documentId | The identity of the document. (required) |
Sample
Request
POST api/v2/me/emails/0000Na9B26EF003M { "operationName": "RemoveAttachment", "documentId": "0000Fa92G5HY0J6E" }
Response
{ "statusCode": 0 }
Notification
{ "referenceId": 40, "notificationType": "AttachmentRemoved", "messageType": "EmailStateChangeMessage", "email": { "body": "HelloSave", "from": "GWS@gplus-w2k3-gf80", "attachments": [ ], "uri": "http: //localhost: 8080/api/v2/email/01QG9WAK37H38027", "capabilities": [ "Cancel", "Send", "AddComment", "AttachUserData", "UpdateUserData", "DeleteUserData", "SetDisposition", "SetInFocus", "Transfer" ], "to": [ "qwerty@gplus-w2k3-gf80" ], "state": "Composing", "id": "01QG9WAK37H38027", "subject": "Thisisatest" } }
This page was last edited on February 15, 2024, at 19:11.
Comments or questions about this documentation? Contact us for support!