Skip to main content
GET
/
teams
/
{team_token}
Get team by token
curl --request GET \
  --url https://api.vantage.sh/v2/teams/{team_token} \
  --header 'Authorization: Bearer <token>'
{
  "token": "team_081e09bbb812d369",
  "name": "Prod Team",
  "description": "Handles all production deployments.",
  "workspace_tokens": [
    "wrkspc_ddc003a2f0171bf8"
  ],
  "user_tokens": [
    "usr_7c309915e847cfc6"
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

team_token
string
required

Response

Team model

token
string
name
string

The name of the Team.

Example:

"Cost Savers"

description
string

The description of the Team.

Example:

"The Team that saves costs"

workspace_tokens
string[]

The tokens for any Workspaces that the Team belongs to

user_emails
string[]

The email addresses for Users that belong to the Team

user_tokens
string[]

The tokens for Users that belong to the Team