Common use case:
Updating a team member’s role or moving them to a different team using the
new_team_id field.Important notes:
- If the member should remain in the current team, you can leave
new_team_idunchanged - Role changes take effect immediately upon update
To review the current team structure before updating, use the Get Team Members endpoint. To remove a user instead, refer to the Delete Team Member endpoint.
Authorization: Bearer YOUR_TOKEN
Expected Behavior:
- On success, the system will update the team member and return a confirmation message.
- If the request is unauthorized or invalid, the system will respond with an error message.