The Open API specification for Synapse is now available for download!

Download Open API Spec

GET /user/{id}/team/id

Retrieve a paginated list of IDs of Teams to which the given user belongs. If sorting is desired, both sort and ascending must be specified. If they are omitted, results are not sorted.

Resource URL

https://repo-prod.prod.sagebase.org/repo/v1/user/{id}/team/id

Resource URL Variables
{teamMemberId} the principal ID of the user of interest
Parameters
nextPageToken

optional

controls pagination
sort

optional

the field to sort the team IDs on. Available options TeamSortOrder
ascending

optional

the direction of sort: true for ascending, and false for descending
Resource Information
Authentication not required
Required OAuth Scopes view
HTTP Method GET
Request Object None
Response Object PaginatedTeamIds
(application/json)