GET
/
teams
List Teams
curl --request GET \
  --url https://api.upstash.com/v2/teams \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "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.

Response

200 - application/json

Teams retrieved 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