Delete Geofence by Geofence ID

Last Updated on : 2023-06-20 14:52:24download

Delete the data of multiple geofences by geofence ID.

API address

DELETE: /v2.0/iot-01/fences/batch

Request parameter

Parameter name Type IN Required Description
fence_ids String query true The geofence ID, separated with commas (,). Maximum value: 50.

Return parameter

Parameter name Type Description
result Boolean Indicates whether the operation is successful.

Request example

DELETE: /v2.0/iot-01/fences/batch?fence_ids=44008

Return example

{ "result": true, "t": 1625225396831, "success": true }

Error code

For more information, see error code.