Update role
PATCH {{baseUrl}}/api/v1/roles/:role_id
This API updates details of an existing role.
OAuth Scope
Desk.settings.UPDATE
Desk.basic.UPDATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
name | <string> max chars : 50 | Name of the role |
description | <string> max chars : 3200 | A short description of the role |
shareDataWithPeers | <boolean> | Key that denotes if the role shares data with its peer roles |
reportsTo | <long> | ID of the role to which the current role reports |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"isDefault":false,"shareDataWithPeers":true,"immediateSubRoles":[],"name":"Customer Care and Sales Associate","description":"Can work on own tickets and can not re-assign tickets.","reportsTo":5000000008807,"id":"5000000002973","isVisible":true}