Hides a geofence from list and apply immediately by setting is_deleted and deleted_at. The definition row is kept so devices that still have it can resolve the name (for example {name} (Deleted) on Device Overview). Device associations are not removed by this call.
Common Use Cases
- Removing a geofence from the console while leftover devices catch up
- Reusing the same geofence name after delete
Security
geofence_bearerAuth
- Mock serverhttps://develop-api.esper.io/_mock/openapi/geofence/v1/geofences/{geofence_id}
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/geofence/v1/geofences/{geofence_id}
curl -i -X DELETE \
https://develop-api.esper.io/_mock/openapi/geofence/v1/geofences/f5316a75-f186-4769-970e-28d6a1a0e110 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
{ "content": {} }