ReplaceMemberRolesRequest
| Field | Type |
|---|---|
member_id | string |
role_ids | repeated string |
Required scope: member_roles:update
This operation replaces the complete role assignment, not the member’s team memberships. At least one role is required. The API key creator must be allowed to delegate both the member’s current roles and all proposed roles. The last workspace owner cannot be removed.
memberId is a workspace membership ID, not the account ID used for problem
assignees. Roles carry administrative grants and can select Customer Views;
this operation changes assignments, not View definitions or customer ACLs.
POST /public-api/publicapi.v1.Member/ReplaceMemberRoles Replaces all roles assigned to a member. Team memberships are unchanged.
| Field | Type |
|---|---|
member_id | string |
role_ids | repeated string |
| Field | Type |
|---|---|
member | Member |
{ "memberId": "<member-id>", "roleIds": ["<role-id>"]}The member’s effective authorization is recalculated after success. Do not blindly retry a timed-out mutation.