Skip to main content
GET
/
poolside
/
v1
/
users
/
{user_id}
/
teams
List user teams
curl --request GET \
  --url https://api.example.com/poolside/v1/users/{user_id}/teams
{
  "links": {
    "next": "<string>"
  },
  "teams": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>"
    }
  ],
  "$schema": "<string>"
}

Path Parameters

user_id
string<uuid>
required

ID of the user whose teams should be listed

Query Parameters

start_token
string

token for fetching the next page of results, if any. May specify start_token or page but not both.

Minimum string length: 4
page
integer<int64>

Page number (1-indexed, defaults to 1). May specify start_token or page but not both.

page_size
integer<int64>

Items per page (defaults to 20, max 300)

include_totals
boolean

Include totals in the response

Response

OK

teams
object[]
required

list of teams the user belongs to

$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://example.com/schemas/ListUserTeamsPage.json"