Update a Geofence
Changed onRequest
- Base URLhttps://api.nextbillion.io
- AuthAPI key in query parameter key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of the geofence to be updated. This is the ID that was generated/provided at the time of creating the geofence.
Query parameters
A key is a unique identifier that is required to authenticate a request to the API.
Request body
Example request
{
"type": "\"type\":\"circle\"",
"name": "\"name\":\"Los Angeles Downtown\"",
"tags": [
"\"tags\":[\"tags_1\", \"O69Am2Y4KL8q5Y5JuD-Fy-tdtEpkTRQo_ZYIK7\"]"
],
"isochrone": {
"coordinates": "\"coordinates\": \"13.25805884388484,77.91083661048299\"",
"mode": "“mode”:”car”"
}
}Response
OK
Changes
- breaking
removed the enum value
circleof the request property - breaking
removed the enum value
isochroneof the request property - breaking
removed the enum value
polygonof the request property - info
added the new
circleenum value to the request property - info
added the new
isochroneenum value to the request property - info
added the new
polygonenum value to the request property
- breaking
- breaking
removed the enum value
circleof the request property - breaking
removed the enum value
isochroneof the request property - breaking
removed the enum value
polygonof the request property - info
added the new
circleenum value to the request property - info
added the new
isochroneenum value to the request property - info
added the new
polygonenum value to the request property
- breaking