Update a team

Update the name and/or description of a team by specifying its team ID.

Note: Changes to the fields listed below are only applicable to teams that have been created manually: name, description, project, members, assets

Use the /teams endpoint to retrieve all teams the authenticated user has access to.

Requires the following permission:
jit.teams.write

Path Params
string
required

Unique ID that represents team ID. Use the /teams endpoint to retrieve all teams the authenticated user has access to.

Body Params

Request fields to update a team.

string
length ≥ 1

Team Name. This name must be unique in the organization

string

Description of the team.

string

Project associated with the team.

members
array of strings

List of member names to set for this team. If provided, will replace all existing members.

Team Members
assets
array of objects

List of assets to associate with this team. If provided, will sync team assets.

Assets
boolean
Defaults to false

Indicates whether the team is visible in the platform.

boolean

Indicates whether PR check is enabled for the team's repos.

Responses

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