Logo
Zoom Public API Documentation

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

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "name": "<string>", "parentId": "<string>", "id": "<string>", "labelLevel": "<integer>", "messageListVisibility": "hide", "labelListVisibility": "labelShow", "color": { "textColor": "<string>", "backgroundColor": "<string>" } }



Curl
curl -X PUT 'https://api.zoom.us/v2/emails/mailboxes/:email/labels/:labelId' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"name":"\u003cstring\u003e","parentLd":"\u003cstring\u003e","messageListVisibilitystring":"show","labelListVisibility":"labelShowIfUnread","color":{"textColor":"\u003cstring\u003e","backgroundColor":"\u003cstring\u003e"}}'

ENDPOINTS