Update the specified email
POST {{baseUrl}}/emails/mailboxes/:email/messages/:messageId/modify
Modifies the labels on the specified message.
Scopes: mail:write
Rate Limit Label: MEDIUM
Not supported in Gov cluster
Request Body
{"addLabelIds"=>["<string>", "<string>"], "removeLabelIds"=>["<string>", "<string>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","threadId":"\u003cstring\u003e","labelIds":["\u003cstring\u003e","\u003cstring\u003e"]}