Measure logo
REST API ReferenceDashboard APITeams

Fetch the access token holder's teams

GET/teams

Fetch list of teams of access token holder.

Authorization

bearerAuth
AuthorizationBearer <token>

User access token issued at sign-in. Sent as Authorization: Bearer <access-token> unless cookies are used to send tokens. The /auth/refresh and /auth/signout endpoints expect the session's refresh token in the same header format instead.

In: header

Response Body

application/json

curl -X GET "https://example.com/teams"
[  {    "id": "099f0f9b-5ee9-47de-a8aa-e996adc049c1",    "name": "Team 1",    "role": "owner"  },  {    "id": "823f0g9c-2gg7-32mp-x6cj-v368geb129d0",    "name": "Team 2",    "role": "admin"  }]
Empty
Empty
Empty
Empty
Empty

Think this page can be better?

Open an issue