/teams/:id

Update a team by id.

🚧

Updating Team Members

You should always send the complete list of User IDs in the userIds and leaderIds fields if the field is present in your request. To remove a user from the team, first make a GET request to /teams/:id to get the current list of users, remove the id you wish to remove from the team, and then send the now changed full list of user ids back with a PUT request to this endpoint.

Similarly, to make someone a leader of the team, or demote someone to a regular member of the team, first make a GET request to /teams/:id to get the current list of leaders, make your changes, and send back the changed list with a PUT request to this endpoint.

Path Params
int32
required

The team id.

Body Params
string

The team name.

userIds
array of int32s

The complete list of members of this team.

userIds
leaderIds
array of int32s

The complete list of team leaders.

leaderIds
Response

Language
Credentials
Basic
base64
:
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json