DELETE Geofence API
Delete Geofence API allows you to delete already existing geofences for a project.
You can delete the geofence by two options below:
  • Query Parameters: This can accept only one geofence_id which can be deleted.
  • Body Parameters: If you want to delete more than one geofence, you can use the body parameters with upto 200 geofence_id at a time.
delete
https://api.roam.ai/v1/
api/geofence
Delete Geofence API

Sample Request

Single Delete
curl --location --request DELETE 'https://api.roam.ai/v1/api/geofence/?geofence_id=5f73326ce5fc231ba4b253eb' \
--header 'Api-Key: e566c098cc6b441a9c3453b6fcf76e88' \
--header 'Content-Type: application/json'
Bulk Delete
curl --location --request DELETE '{{host}}/v3/api/geofence/' \
--header 'Api-key: xxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"geofence_id": ["615c6cef8ce7db3886f21550", "615c6ce351efb0120dcea364"]
}'
Export as PDF
Copy link
On this page
delete
Delete Geofence API
Sample Request