provider Teams POST
/api/v2/teams @utdk/launchdarkly
/api/v2/teams Create team
Create a team. To learn more, read [Creating a team](https://launchdarkly.com/docs/home/account/create-teams).
### 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:
* `members` includes the total count of members that belong to the team.
* `roles` includes a paginated list of the custom roles that you have assigned to the team.
* `projects` includes a paginated list of the projects that the team has any write access to.
* `maintainers` includes 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.
- expand query
- A comma-separated list of properties that can reveal additional information in the response. Supported fields are explained above.
- string
Try it
Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import launchdarkly from '@utdk/launchdarkly';
await launchdarkly.postteam()