Update team
PATCH {{baseUrl}}/api/v1/teams/:team_id
This API updates details of an existing team.
OAuth Scope
Desk.settings.UPDATE
Desk.basic.UPDATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
name | <String> | Name of the team |
description | <String> | A short description of the team |
subTeams | <list> | List of sub-teams within the team |
roles | <list> | List of roles to add to the team |
rolesWithSubordinates | <list> | List of roles with subordinates to add to the team |
agents | <list> | List of agents to add to the team |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"rolesWithSubordinates":["6000000008684","6000000008686"],"departmentId":"6000000009893","roles":["6000000011311","6000000011307"],"name":"Sales Reps.","description":"Sales teams for winning customers.","derivedAgents":["6000000009086","6000000012003"],"id":"6000000014007","subTeams":["6000000011303"],"agents":["6000000009086"]}