geofence.delete
The geofence.delete command is used to delete a geofence.
TR50 Request
{
"cmd": {
"command": "geofence.delete",
"params": {
"key": "mygeofence"
}
}
}
Request Parameters
Name |
Type |
Required |
Description |
---|---|---|---|
key |
String |
Yes |
The key of the geofence to delete. |
TR50 Response
If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.
{
"cmd": {
"success": true
}
}