Plan a change to a ChurchTools group membership
ct_update_group_memberUpdates a group member's role, status, comment, and start or end date by returning a patch plan that includes only changed fields.
Instructions
Writes nothing: returns a plan that patches only the membership fields whose value changes: role, status, comment, start and end date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | null clears it | |
| groupId | Yes | The group's id | |
| personId | Yes | The person's id | |
| memberEndDate | No | YYYY-MM-DD; null clears it | |
| groupTypeRoleId | No | The role id | |
| memberStartDate | No | YYYY-MM-DD; an active membership needs one | |
| groupMemberStatus | No | active, requested (awaits confirmation), waiting (waiting list) or to_delete (pending removal) |