Actions22
- Account Actions
- Automation Actions
- Device Actions
- Label Actions
- Mass Action Actions
- User Actions
- Zone Actions
Zone → Create Zone
AI-generatedSummary
Create a new control zone in Prey with specified details and assign selected devices to it.
Inputs
- API Key Permission — Select 'Read & Write' permission level for the API key to enable zone creation.
- Zone Name (required) — Specify the name of the zone to create.
- Latitude (required) — Latitude coordinate of the zone's center, from -90 to 90.
- Longitude (required) — Longitude coordinate of the zone's center, from -180 to 180.
- Radius (Meters) (required) — Radius of the zone in meters, must be at least 1.
- Color (Hex) — Hex color code to assign to the zone.
- Device Names or IDs — Select or specify device IDs to assign to the zone.
- Request Options — Optional settings for batching, SSL tolerance, proxy, and timeout of the API request.
Output shape
a single record
Returns the created zone object as JSON in the response body.