GET
/
api
/
{organization_id}
/
teams
List teams
curl --request GET \
  --url https://api.select.dev/api/{organization_id}/teams \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "is_all_users": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "remaining_count": 123,
  "limit": 123,
  "offset": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization_id
string
required

Query Parameters

limit
integer | null
default:100
Required range: 1 <= x <= 1000
offset
integer | null
default:0
Required range: x >= 0
all_user_team
boolean | null
order_by
string | null
default:-created_at
name__like
string | null
name__not_like
string | null
name__ilike
string | null
name__not_ilike
string | null
name__isnull
boolean | null

Response

Successful Response

Response model for listing teams with pagination metadata.