Get team memberships

GET {{baseUrl}}/api/v2/team/:team_id/memberships?page[size]=10&page[number]=0&sort=email&filter[keyword]=<string>

Get a paginated list of members for a team

Request Params

KeyDatatypeRequiredDescription
page[size]numberSize for a given page. The maximum allowed value is 100.
page[number]numberSpecific page number to return.
sortstringSpecifies the order of returned team memberships
filter[keyword]stringSearch query, can be user email or name

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;team_memberships&quot;,&quot;attributes&quot;:{&quot;role&quot;:&quot;admin&quot;},&quot;relationships&quot;:{&quot;user&quot;:{&quot;data&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;users&quot;}}}},{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;team_memberships&quot;,&quot;attributes&quot;:{&quot;role&quot;:&quot;admin&quot;},&quot;relationships&quot;:{&quot;user&quot;:{&quot;data&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;users&quot;}}}}],&quot;links&quot;:{&quot;first&quot;:&quot;\u003cstring\u003e&quot;,&quot;last&quot;:&quot;\u003cstring\u003e&quot;,&quot;next&quot;:&quot;\u003cstring\u003e&quot;,&quot;prev&quot;:&quot;\u003cstring\u003e&quot;,&quot;self&quot;:&quot;\u003cstring\u003e&quot;},&quot;meta&quot;:{&quot;pagination&quot;:{&quot;first_offset&quot;:&quot;\u003clong\u003e&quot;,&quot;last_offset&quot;:&quot;\u003clong\u003e&quot;,&quot;limit&quot;:&quot;\u003clong\u003e&quot;,&quot;next_offset&quot;:&quot;\u003clong\u003e&quot;,&quot;offset&quot;:&quot;\u003clong\u003e&quot;,&quot;prev_offset&quot;:&quot;\u003clong\u003e&quot;,&quot;total&quot;:&quot;\u003clong\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;}}}