POST
/
team
Create Team
curl --request POST \
  --url https://api.upstash.com/v2/team \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "team_name": "myteam",
  "copy_cc": true
}'
{
  "team_id": "95849b27-40d0-4532-8695-d2028847f823",
  "team_name": "test_team_name",
  "copy_cc": true
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
team_name
string
required

Name of the new team

Example:

"myteam"

copy_cc
boolean
required

Whether to copy existing credit card information to team or not

Example:

true

Response

200 - application/json

Team created successfully

team_id
string

ID of the team

Example:

"95849b27-40d0-4532-8695-d2028847f823"

team_name
string

Name of the team

Example:

"test_team_name"

copy_cc
boolean

Whether creditcard information added to team during creation or not

Example:

true