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
Team created successfully
The response is of type object.
object
Was this page helpful?