Create a new label in mailbox
POST {{baseUrl}}/emails/mailboxes/:email/labels
Creates a new label.
Scopes:
mail:write
Rate Limit Label
:
LIGHT
Not supported in Gov cluster
Request Body
{"name"=>"<string>", "parentId"=>"<string>", "messageListVisibilitystring"=>"show", "labelListVisibility"=>"labelHide", "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","messageListVisibilitystring":"show","labelListVisibility":"labelShowIfUnread","color":{"textColor":"\u003cstring\u003e","backgroundColor":"\u003cstring\u003e"}}