Set Member Application Roles
Sets the full set of per-application role names a member holds within a team. Under auth:teams:app-roles the target application is restricted to applications the calling client is bound to, letting a product manage only its own permissions. The acting subject must be a team owner.
Required scopes: auth:teams:app-roles or auth:teams:manage
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 <= 1281 <= length <= 128Application slug the roles belong to. Defaults to the calling client's
application. Under auth:teams:app-roles this is restricted to
applications the calling client is bound to.
length <= 64The full set of ApplicationRole names the member should hold within the team for the application. An empty list clears them.
A team owner's inherited role (the application's highest-ranked team
role, reported in inherited_roles) is outside this set: naming it is
accepted and changes nothing, leaving it out does not remove it, and an
explicit assignment of it made earlier is kept as it is. To take it away,
demote the member.
items <= 32Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.TeamsService/SetMemberApplicationRoles" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{}Revoke Team Invitation POST
Revokes a pending team invitation. Requires team owner. **Required scopes:** `auth:teams:app-roles` or `auth:teams:manage`
Set Team Member Role POST
Changes a member's team role. A team always keeps at least one owner. 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)