List associated teams for a role
GET {{baseUrl}}/api/v1/roles/:role_id/teams
This API fetches details of all the teams associated with a particular role.
OAuth Scope
Desk.settings.READ
Desk.basic.READ
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"teams":[{"rolesWithSubordinates":["6000000008684"],"departmentId":"60000000839483","roles":["60000000098623"],"name":"Sales Reps.","description":"Sales teams for winning customers.","derivedAgents":["6000000011313","60000000120230"],"id":"6000000083003","subTeams":[],"agents":[]},{"rolesWithSubordinates":[],"departmentId":"60000000839483","roles":["6000000008684"],"name":"Support Teams","description":"Support teams for solving customer issues.","derivedAgents":["6000000011313"],"id":"6000000083034","subTeams":[],"agents":["6000000011313"]}]}