Create a team
POST https://{{base_url}}/v3/organizations/{{organization_uid}}/teams
The Create a team request creates a team in the specified organization.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.
Read more about it in Authentication.
For more information, refer to the Create a team API Reference document
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
includeUserDetails | boolean | Set this parameter to “true” to include the details of users in the response. |
Request Body
{"name"=>"Team A", "users"=>["blt**************a0"], "stackRoleMapping"=>[{"stackApiKey"=>"blt**************74", "roles"=>["blt**************f6"]}], "organizationRole"=>"blt**************c5"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
authtoken | string | Enter your authtoken. | |
Content-Type | string | Enter "application/json" to pass a request body. |