Update group
update_groupUpdate an existing farm group's name or description, and optionally add active animals from the same farm; animal additions cannot be undone.
Instructions
Update an existing group, and optionally add animals to it. Membership is additive: animal_ids adds those animals and never removes existing members. Omit animal_ids (or pass an empty array) to leave membership unchanged. Every requested animal must be an active animal on the same farm; any unknown, archived or other-farm animal fails the whole update. A group update that adds animals cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The new name of the group. | |
| farm_id | No | The ID of the farm (optional if a default is set). | |
| group_id | Yes | The UUID of the group to update. | |
| animal_ids | No | Animal UUIDs to ADD to the group (additive; existing members are preserved). Omit or pass [] to leave membership unchanged. Cannot be undone. | |
| description | No | The new description of the group. |