Update label
PATCH {{baseUrl}}/api/v1/labels/:label_id
This API helps update the details of a label.
OAuth Scope
Desk.contacts.UPDATE
Desk.settings.UPDATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
name | <String> | Name of the label |
logoId | <long> | ID of the logo set for the label |
preferences | <JSONObject> | Visual preferences related to the label/logo |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"modifiedTime":"2017-09-19T04:58:50.000Z","preferences":{"shape":"ROUNDED","bgColor":"#FFEE","textColor":"#FFEE"},"creator":{"photoURL":"https://desk.zoho.com/portal/api/user/6000000015895/photo?orgId=143315","name":"SupportAdmin","id":"310975130121"},"modifier":{"photoURL":"https://desk.zoho.com/portal/api/user/6000000015895/photo?orgId=143315","name":"SupportAdmin","id":"310975130121"},"name":"Pro Customer","count":"892","createdTime":"2017-09-19T04:58:50.000Z","id":"310975130110","helpCenterId":"310975130119","logoUrl":"https://desk.zoho.com/portal/api/publicImages/310975130121?portalId=5c9470fcc808cc98932703e28221d6c302e105dc4da8b23fafb6719abeecaa48"}