Teams
Create Team
This endpoint creates a new team.
POST/v2/team
cURL
curl --request POST \
--url https://api.upstash.com/v2/team \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"team_name": "myteam",
"copy_cc": true
}'200Response
{
"team_id": "95849b27-40d0-4532-8695-d2028847f823",
"team_name": "test_team_name",
"copy_cc": true
}Authorization
Authorizationheaderstringrequired
Bearer authentication header of the form Bearer <token>.
Body
team_namestringrequired
Name of the new team
copy_ccbooleanrequired
Whether to copy existing credit card information to team or not
Response
200 — Team created successfully
team_idstring
ID of the team
team_namestring
Name of the team
copy_ccboolean
Whether creditcard information added to team during creation or not