v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1458290352.8 KB

Stores a geofence geometry in a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.

put/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}

Path parameters

CollectionNamestring required

The geofence collection to store the geofence in.

GeofenceIdstring required

An identifier for the geofence. For example, <code>ExampleGeofence-1</code>.

Request body

Response

Success

CreateTimestring date-time required

The timestamp for when the geofence was created in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format: <code>YYYY-MM-DDThh:mm:ss.sssZ</code>

GeofenceIdstring required

The geofence identifier entered in the request.

UpdateTimestring date-time required

The timestamp for when the geofence was last updated in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format: <code>YYYY-MM-DDThh:mm:ss.sssZ</code>