GET
/
api
/
{organization_id}
/
teams
/
{team_id}
Get team details
curl --request GET \
  --url https://api.select.dev/api/{organization_id}/teams/{team_id} \
  --header 'Authorization: Bearer <token>'
{
  "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",
  "member_count": 123,
  "role_count": 123,
  "members": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "user",
      "identifier": "<string>",
      "role": "editor",
      "added_at": "2023-11-07T05:31:56Z"
    }
  ],
  "roles": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "role": "editor",
      "snowflake_organization_name": "<string>",
      "snowflake_account_uuid": "<string>",
      "usage_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

team_id
string<uuid>
required

The ID of the team

organization_id
string
required

Query Parameters

members_limit
integer | null
default:100
Required range: 1 <= x <= 1000
members_offset
integer | null
default:0
Required range: x >= 0
roles_limit
integer | null
default:100
Required range: 1 <= x <= 1000
roles_offset
integer | null
default:0
Required range: x >= 0

Response

Successful Response

Detailed team information including members and roles.