Update the specified label in mailbox
PUT {{baseUrl}}/emails/mailboxes/:email/labels/:labelId
Updates the specified label.
Scopes: mail:write
Rate Limit Label: LIGHT
Not supported in Gov cluster
Request Body
{"name"=>"<string>", "parentLd"=>"<string>", "messageListVisibilitystring"=>"show", "labelListVisibility"=>"labelShowIfUnread", "color"=>{"textColor"=>"<string>", "backgroundColor"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"name":"\u003cstring\u003e","parentId":"\u003cstring\u003e","id":"\u003cstring\u003e","labelLevel":"\u003cinteger\u003e","messageListVisibility":"hide","labelListVisibility":"labelShow","color":{"textColor":"\u003cstring\u003e","backgroundColor":"\u003cstring\u003e"}}