Logo
Zoom Public API Documentation

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

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

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



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

ENDPOINTS