Archive location
archive_locationArchive a farm location to exclude it from new selections, preserve its history, and archive its sublocations while clearing any matching home default.
Instructions
Archive a location. Archiving a premises also archives its sublocations and clears a matching home default. History keeps the site; it is excluded from new selections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| farm_id | No | ||
| location_id | Yes | ||
| expected_version | No |