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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;threadId&quot;:&quot;\u003cstring\u003e&quot;,&quot;labelIds&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;]}