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
Number of roles remaining after pagination
Maximum number of items returned
Number of items skipped