Prey icon

Prey

Manage devices and account data in Prey

Zone → Update Zone

AI-generated

Summary

Update an existing Prey control zone by modifying its name, geographic coordinates, radius, color, and associated devices.

Inputs

  • API Key Permission (required) — Set to 'Read & Write' to enable zone updates with a writable API key.
  • Zone (ID or Selection) (required) — Select or specify the ID of the zone to update.
  • Zone Name — New name to assign to the zone.
  • Latitude — New latitude coordinate for the zone center (between -90 and 90).
  • Longitude — New longitude coordinate for the zone center (between -180 and 180).
  • Radius (Meters) — New radius of the zone in meters (minimum 1).
  • Color (Hex) — New color for the zone represented as a hex code.
  • Add Device Names or IDs — List of device IDs or names to add to the zone.
  • Remove Device Names or IDs — List of device IDs or names to remove from the zone.
  • Removed Actions — Specify which action trigger to remove from the zone; either 'When In' or 'When Out'.

Output shape

a single updated zone record

Returns the updated zone data after applying requested changes. The update operation requires 'Read & Write' API key permission.

Links

Discussion