Update a Team - PUT /Teams/{id}



Update team details according to team Id. When changing a name of the root team, you should refresh the access token in order to continue working.

The ‘Manage Users’ permission is required to execute this API.

Usage:

  1. GET /Teams/{id} and get details of a team
  2. PUT /Teams/{id} and update team details

URL

/cxrestapi/auth/Teams/{id}

Method:

PUT

Media Type (header):

Authorization: Bearer <access token value>
Content-Type: application/json;v=1.0

Parameters

Required:

id=[integer] – Unique Id of the Team

updateTeamModel=[body]: Specifies the team details
name=[string] – Team name
parentId=[integer] - Team parent Id

Success Response:

Code: 204 Success

Error Response:

Code: 400 Bad Request
Code: 401 Unauthorized
Code: 403 Forbidden
Code: 404 Not Found

Sample Response:

no content

Notes:

Updates the team details according to the defined parameters. Once the request is successful, it does not return any content. If the request fails, it returns an error response.




Send Documentation Feedback - If you have comments about this documentation, you can contact the documentation team by sending your feedback to usWe appreciate your feedback!