Update Members by Team Id - PUT /Teams/{teamId}/Users
Update team member details according to team Id.
The ‘Manage Users’ permission is required to execute this API.
Usage:
- GET /Teams/{id}/Users and get details of all team members
- PUT /Teams/{teamId}/Users and update team member details
URL
/cxrestapi/auth/Teams/{teamId}/Users
Method:
PUT
Media Type (header):
Authorization: Bearer <access token value>
Content-Type: application/json;v=1.0
Parameters
Required:
teamId=[integer] - Unique Id of the Team
updateTeamMembersModel=[body]: Specifies the team members details
userIds=[integer] – Id(s) of the User(s)
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 member 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.
Related content
Send Documentation Feedback - If you have comments about this documentation, you can contact the documentation team by sending your feedback to us. We appreciate your feedback!