Update group membership
update_group_membershipAdd or remove animals in a group using a fresh membership fingerprint; stale fingerprints return a 409, and only changed IDs are returned.
Instructions
Add and remove group members. Pass the membership_fingerprint from a fresh group read; a stale one is a 409 conflict. add/remove ids must not overlap, targets must be same-farm, and additions must be active. Returns the ids actually changed. Removal changes no record and cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| farm_id | No | The ID of the farm (optional if a default is set). | |
| group_id | Yes | ||
| add_animal_ids | No | ||
| remove_animal_ids | No | ||
| membership_fingerprint | Yes |