POST
/
v2
/
team
curl -X POST \
  https://api.upstash.com/v2/team \
  -u 'EMAIL:API_KEY' \
  -d '{"team_name":"myteam","copy_cc":true}'
{
    "team_id": "75b471f2-15a1-47b0-8ce5-12a57682bfc9",
    "team_name": "test_team_name_2",
    "copy_cc": true
}

Request Parameters

team_name
string
required

Name of the new team

copy_cc
boolean
required

Whether to copy existing credit card information to team or not\ Options: true or false

Response Parameters

team_id
string

ID of the created team

team_name
string

Name of the created team

copy_cc
boolean

Whether creditcard information added to team during creation or not

curl -X POST \
  https://api.upstash.com/v2/team \
  -u 'EMAIL:API_KEY' \
  -d '{"team_name":"myteam","copy_cc":true}'
{
    "team_id": "75b471f2-15a1-47b0-8ce5-12a57682bfc9",
    "team_name": "test_team_name_2",
    "copy_cc": true
}