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