cURL
curl --request GET \ --url https://api.select.dev/api/{organization_id}/teams/{team_id}/roles \ --header 'Authorization: Bearer <token>'
{ "roles": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "role": "admin", "scope": { "type": "organization", "id": "<string>", "name": "<string>" }, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "remaining_count": 123, "limit": 123, "offset": 123 }
Retrieve all roles granted to a team
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the team
Successful Response
Response model for listing team roles with pagination metadata.
List of team access roles
Show child attributes
The unique identifier of this role assignment
The role level (admin, editor, monitor_editor, or viewer)
admin
editor
monitor_editor
viewer
The scope this role applies to
The type of scope for this role
organization
snowflake_organization
snowflake_account
usage_group
ID of the scoped entity (organization ID, Snowflake org name, account UUID, or usage group ID)
Display name of the scoped entity (populated in responses)
When the role was created
When the role was last updated
Number of roles remaining after pagination
Maximum number of items returned
Number of items skipped