Skip to main content
GET
/
teams
Get all teams
curl --request GET \
  --url https://api.vantage.sh/v2/teams \
  --header 'Authorization: Bearer <token>'
{
  "links": {
    "self": "https://api.vantage.sh/v2/teams",
    "first": "https://api.vantage.sh/v2/teams?page=1",
    "next": null,
    "last": "https://api.vantage.sh/v2/teams?page=1",
    "prev": null
  },
  "teams": [
    {
      "token": "team_2d4733920ec4385e",
      "name": "Prod Team",
      "description": "Handles all production deployments",
      "workspace_tokens": [
        "wrkspc_08026aa5fb4c90f8"
      ],
      "user_tokens": [
        "usr_c59398553e838116"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer<int32>

The page of results to return.

limit
integer<int32>

The amount of results to return. The maximum is 1000.

Response

200 - application/json

Teams model

teams
object[]