Team

List Team members

GET
List the details about all users that belong to a specific Team.

Path parameters

organizationIdstringRequired
The ID of the Organization to which the Team belongs.
teamIdstringRequired
The ID of the Team to retrieve member information for.

Query parameters

offsetintegerOptional
Offset for pagination
limitintegerOptional
Limit for pagination
sortsenumOptional
Sorting criteria, each criterion should conform to format 'fieldName:asc' or 'fieldName:desc'

Response

This endpoint returns an object
limit
integer
The maximum number of Team members in one page.
offset
integer
The offset of the current page of Team members.
teamMembers
list of objects
The list of Team members in the current page.
totalCount
integer
The total number of Team members.
GET
1curl https://api.astronomer.io/iam/v1beta1/organizations/organizationId/teams/teamId/members \
2 -H "Authorization: Bearer <token>"
Response - 200 Success
1{
2 "limit": 10,
3 "offset": 0,
4 "teamMembers": [
5 {
6 "userId": "clma5vzk2000108k20jhq3f7n",
7 "username": "user1@company.com",
8 "avatarUrl": "https://avatar.url",
9 "createdAt": "2022-11-22T04:37:12Z",
10 "fullName": "Jane Doe"
11 }
12 ],
13 "totalCount": 100
14}