Single endpoint for the "Change Roles" modal. Applies a primary role change (LEADER, MEMBER, MAIN_LEADER, or NONE for removal) and/or coach/director column toggles in one transaction, recording history_groups rows for every transition (status_id 110 for coach, 120 for director). At least one of primary_role, is_coach, or is_director must be provided. is_coach/is_director are single-individual only.
Administrative-DB groups (interaction_type='d') skip history_groups writes for coach/director column changes — these synthetic groups don't keep individual involvement timelines, matching the legacy remove_director behavior in group_manage_list.php.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
200Roles updated successfully
400Validation error (e.g. multi-individual leadership flag, no fields provided)
403Caller lacks permission for the requested change
404Group not found, or operation not valid for this group (e.g. system group removal)
