API Reference
API Reference

Update a geofence

Updates geofence properties. All fields are optional.

  • When type is circle, providing center_latitude, center_longitude, or radius will validate them.
  • When type is polygon, providing coordinates will validate the array (min 3 points).
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Geofence ID

Body Params
string
length ≤ 255
string
string
enum
Allowed:
float
-90 to 90

Center latitude (required when creating circle type)

float
-180 to 180

Center longitude (required when creating circle type)

integer
1 to 100000

Radius in meters (required when creating circle type, 1m to 100km)

coordinates
array of objects

Coordinate points (required when creating polygon type, min 3). Each point accepts either {latitude, longitude} or {lat, lng} keys.

coordinates
string
length ≤ 255
string
length ≤ 100
string
length ≤ 100
string
length ≤ 20
string
length ≤ 100
boolean
boolean
string
enum
Allowed:
string
length ≤ 7
Responses

401

Unauthorized - Invalid or expired token

404

Geofence not found or unauthorized

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json