locations

Restore Location

Restore an archived location. A sublocation requires an active parent; restoring a premises restores its sublocations. 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}/restore

Request

  • Base URL: https://api.ranch.bot
  • URL: https://api.ranch.bot/v1/farm/{farm_id}/locations/{location_id}/restore
  • 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.