Assign labels to user
POST {{baseUrl}}/api/v1/users/:user_id/labels/assign?labels=<list>
This API assigns the labels you specify to a particular user.
OAuth Scope
Desk.contacts.UPDATE
Desk.settings.UPDATE
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
helpCenterId | string | ID of the help center from which the labels must be validated | |
labels | string | List containing the details of the labels to assign |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"results":[{"success":true,"id":"24073000002958013","errors":null},{"success":true,"id":"24073000002958023","errors":null},{"success":false,"id":"24073000002152013","errors":{"errorCode":"FORBIDDEN","httpCode":403,"error":"Restricted"}}]}