GET
/
api
/
{organization_id}
/
teams
Get Teams Api Route
curl --request GET \
  --url https://api.select.dev/api/{organization_id}/teams \
  --header 'Authorization: Bearer <token>'
[
  {
    "name": "<string>",
    "is_all_users": true,
    "sso_groups": [
      {
        "sso_group_name": "<string>",
        "role": "editor"
      }
    ],
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "members": [
      {
        "email": "<string>",
        "role": "editor",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "membership_type": "Explicit",
        "name": "<string>"
      }
    ],
    "roles": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "role": "admin",
        "entity": {
          "type": "team",
          "id": "<string>",
          "display_name": "<string>"
        },
        "organization_id": "<string>",
        "email_address": null,
        "sso_group_name": null,
        "granted_to_team_name": "<string>",
        "is_default": false
      }
    ]
  }
]

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

Response

200
application/json

Successful Response

The response is of type TeamWithMembers · object[].