Remove Geofence
Example:
https://<address>/api/api.php?cmd=geofencedel
Parameters:
cmd : geofencedel
zone_id: Geofence id , mandatory if
external_id not set.
external_id: external geofence id (optional). Ignored if zone_id is set
Request:
https://<address>/api/api.php?cmd=geofencedel&id=158412
Answer:
{
"code":0,
"msg":"OK",
"data":{
"zones_deleted":[
158412 <- geozone ID
],
"vehicles_unlinked":{
"158412":[ <- geozone ID
112917, <- vehicle id
112401,
111219,
109794,
109793,
109792,
109791,
109787,
105190,
66500,
66499,
66497,
41432,
39850,
2744
]
}
}
}