Delete geozone
Example :
https://<address>/api/api.php?cmd=geofencedel
Parameter:
cmd: geofencedel
id: internal identifier of the geofence. Required if the external_id parameter is not set.
external_id: external ID of the geofence (optional). If set, then the zone_id parameter is ignored
Request:
https://<address>/api/api.php?cmd=geofencedel&zone_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
]
}
}
}