List Users on Team
Retrieves basic information about users on a specified team. With user permissions, the authenticated user must have access to the team. With admin permissions, users from any team belonging to the account can be retrieved.
This endpoint is paginated.
Path parameters
ID of the team to be queried.
Headers
If the requesting user is an account owner, team admin, or team manager with the required permissions and they make the request with the value of “admin” as this header and include an admin scope, the request will be made using their admin permissions.
Response
OK. Returns a list of Profile resources containing basic information about users on the specified team. If requesting as admin, Profile resources may be returned even if the authenticated user does not have direct access to the specified team.
Example response
[
{
"accountId": 100,
"username": "johndoe",
"email": "john-doe@example.com",
"fullName": "John Doe",
"id": 101,
"avatar": {
"type": "url",
"link": "https://www.gravatar.com/avatar/00000000000000000000000000000000?s=200&d=404"
}
}
]