UpdateGeofenceRequest
Schema for updating an existing geofence.
Supports three geometry types (PRD §3.1):
- Polygon: Standard GeoJSON Polygon
- MultiPolygon: Collection of polygons
- Circle: Point with radius_meters
name object
- string
- null
Possible values: non-empty and <= 100 characters
description object
- string
- null
Possible values: <= 500 characters
geometry object
GeoJSON geometry (Polygon, MultiPolygon, or Circle)
- GeoJSONPolygon
- GeoJSONMultiPolygon
- GeoJSONCircle
- null
Possible values: Value must match regular expression ^Polygon$
webhook_url object
- string
- null
Possible values: <= 2048 characters
webhook_events object
- string[]
- null
metadata object
- object
- null
is_active object
- boolean
- null
group_name object
- string
- null
Possible values: <= 255 characters
tags object
Optional list of tag names. None leaves tags untouched; an empty list clears all tags; a non-empty list atomically replaces the geofence's tag set.
- string[]
- null
address object
Updated address (only honored on source='address' fences; re-geocodes if changed from the persisted value).
- string
- null
Possible values: <= 512 characters
buffer_meters object
Updated buffer radius in meters (1-10000; address-source fences only). Range matches CreateGeofenceRequest so bulk-imported fences with buffers outside the interactive UI's 10-1000 m default can still be edited via the API.
- integer
- null
Possible values: >= 1 and <= 10000
{
"name": "string",
"description": "string",
"geometry": {
"type": "string",
"coordinates": [
0
]
},
"webhook_url": "string",
"webhook_events": [
"string"
],
"metadata": {},
"is_active": true,
"group_name": "string",
"tags": [
"string"
],
"address": "string",
"buffer_meters": 0
}