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
1Define 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.
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 "Content-Type: application/json" \ -d '{}'{}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}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)