_delete
Deletes a chosen Geofence.
Parameters
id
The ID of the chosen Geofence.
Example
FM_api(
'Geofence_delete',[
'id' => '2'
]
);
Results
On Success
{"ok":1}
On Failure
If there is no ID given or it is less than 1:
{"error":"missing or invalid parameter: id"}
If a valid ID is given but there is no Geofence assigned to said ID.
{"error":"geofence does not exist"}
Last updated