locations

Archive Location

Archive a location. Archiving a premises archives its sublocations and clears a matching home default. Directory scopes use read:farms/write:farms; minimum farm role READER for reads and EDITOR for writes.

post/v1/farm/{farm_id}/locations/{location_id}/archive

Request

  • Base URL: https://api.ranch.bot
  • URL: https://api.ranch.bot/v1/farm/{farm_id}/locations/{location_id}/archive
  • Auth: HTTP bearer

Path parameters

farm_idstring uuid required
location_idstring uuid required

Request body

expected_versioninteger

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.