List Team Members
Lists a team's members with their team roles and per-application role names for the calling application. The calling subject must be a member (or the caller a service account of an entitled application).
Required scopes: auth:teams:read
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
1 <= length <= 128Maximum members to return; clamped to 500. Zero returns the first page at the default size rather than every member, so a large team cannot be fetched accidentally in one response.
int320 <= value <= 500Cursor from the previous response's next_page_token.
length <= 64Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.TeamsService/ListTeamMembers" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"members": [
{
"memberId": "urn:xeonr:auth:uid:user:123",
"role": "TEAM_ROLE_UNSPECIFIED",
"applicationRoles": [
"string"
],
"username": "string",
"avatarUrl": "string",
"joinedAt": "2023-01-15T01:30:15.01Z"
}
],
"nextPageToken": "string"
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}List Team Invitations POST
Lists a team's pending invitations. Requires team owner. **Required scopes:** `auth:teams:app-roles` or `auth:teams:manage`
Remove Team Member POST
Removes a member from a team. The last owner cannot be removed. Requires team owner. **Required scopes:** `auth:teams:manage` or `auth:teams:manage:app` (the latter additionally requires the team to be entitled to the calling application)