Create team
Create a team. To learn more, read Creating a team.
Expanding the teams response
LaunchDarkly supports four fields for expanding the “Create team” response. By default, these fields are not included in the response.
To expand the response, append the expand query parameter and add a comma-separated list with any of the following fields:
membersincludes the total count of members that belong to the team.rolesincludes a paginated list of the custom roles that you have assigned to the team.projectsincludes a paginated list of the projects that the team has any write access to.maintainersincludes a paginated list of the maintainers that you have assigned to the team.
For example, expand=members,roles includes the members and roles fields in the response.
Authorizations
Query Parameters
A comma-separated list of properties that can reveal additional information in the response. Supported fields are explained above.
Body
The team key
"team-key-123abc"
A human-friendly name for the team
"Example team"
List of custom role keys the team will access
A description of the team
"An example team"
A list of member IDs who belong to the team
A list of permission grants. Permission grants allow access to a specific action, without having to create or update a custom role.
A map of role attributes for the team
"{\"developerProjectKey\": [\"default\"]}"
Response
Teams response
A description of the team
"Description for this team."
The team key
"team-key-123abc"
A human-friendly name for the team
"Example team"
Details on the allowed and denied actions for this team
Timestamp of when the team was created
"1648671956143"
The location and content type of related resources
Timestamp of when the team was most recently updated
"1648672446072"
The team version
3
Whether the team has been synced with an external identity provider (IdP). Team sync is available to customers on an Enterprise plan.
true
A map of role attributes for the team
"{\"developerProjectKey\": [\"default\"]}"
Paginated list of the custom roles assigned to this team. Only included if specified in the expand query parameter.
Details on the total count of members that belong to the team. Only included if specified in the expand query parameter.
Paginated list of the projects that the team has any write access to. Only included if specified in the expand query parameter.
Paginated list of the maintainers assigned to this team. Only included if specified in the expand query parameter.