cURL
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 }
This endpoint creates a new team.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Name of the new team
"myteam"
Whether to copy existing credit card information to team or not
true
Team created successfully
ID of the team
"95849b27-40d0-4532-8695-d2028847f823"
Name of the team
"test_team_name"
Whether creditcard information added to team during creation or not
Was this page helpful?