Skip to main content
POST
/
api
/
{organization_id}
/
teams
Create a team
curl --request POST \
  --url https://api.select.dev/api/{organization_id}/teams \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "is_all_users": true
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "is_all_users": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization_id
string
required

Body

application/json

The team configuration to create.

name
string
required

The name of the team.

is_all_users
boolean
required

Whether this is the special 'all users' team that automatically includes all organization members

Response

Successful Response

Basic team information returned by public API.

id
string<uuid>
required

The unique identifier of the team

name
string
required

The name of the team

is_all_users
boolean
required

Whether this is the special 'all users' team that automatically includes all organization members

created_at
string<date-time>
required

When the team was created

updated_at
string<date-time>
required

When the team was last updated