POST {{baseUrl}}/emails/mailboxes/:email/threads/:threadId/modify
Modifies the labels applied to the thread. This applies to all messages in the thread. Scopes: Rate Limit Label: Not supported in Gov cluster mail:write
MEDIUM
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"id": "<string>",
"messages": [
{
"id": "<string>",
"threadId": "<string>",
"labelIds": [
"<string>",
"<string>"
]
},
{
"id": "<string>",
"threadId": "<string>",
"labelIds": [
"<string>",
"<string>"
]
}
]
} |
ENDPOINTS