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).
Set applications to also return each member's role names on other applications, in roles_by_application. Those slugs are restricted the same way SetMemberApplicationRoles restricts its target: an auth:teams:app-roles caller may only name applications its client is bound to; auth:teams:manage may name any.
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
Define 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 <= 64Additional applications, by slug, whose role names to return in each
member's roles_by_application. Restricted exactly as
SetMemberApplicationRoles is: an auth:teams:app-roles caller may only
name applications its client is bound to, while the broad
auth:teams:manage tier may name any. A console managing several products
needs this because the roles a member holds on a product cannot otherwise
be read back, only written.
items <= 32Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.TeamsService/ListTeamMembers" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -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",
"rolesByApplication": {
"property1": {
"roles": [
"string"
],
"inheritedRoles": [
"string"
]
},
"property2": {
"roles": [
"string"
],
"inheritedRoles": [
"string"
]
}
},
"inheritedApplicationRoles": [
"string"
],
"automation": true,
"inheritedFrom": "urn:xeonr:auth:company:7c1e0f4a-2b3d-4e5f-8a9b-0c1d2e3f4a5b",
"displayName": "John Doe"
}
],
"nextPageToken": "string"
}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)