Update Moving-Geofence API
The Update Moving-Geofence API allows you to update the details for an existing moving geofence for any specific project using the Update Geofence API.
Update Moving-Geofence API
PUT
https://api.roam.ai/v1/api/moving-geofence/
Headers
Name | Type | Description |
---|---|---|
Api-key | string | Auth-key E.g.- 33223kjhdcscijhb5sdbsdmjsdcbj5f |
Request Body
Name | Type | Description |
---|---|---|
geofence_id | string | geofence_id which need to be updated. E.g.- 5bd2aee1eec1a50d8faf1293 |
metadata | array | An optional set of custom key-value pairs for the geofence. |
color_code | string | Defines the color of Geofence and how it is displayed on the dashboard. Type: Hex Code for CSS colors. Note: Pass the code without '#'. E.g.- ffffff |
tag | string | Tag the GeoFences for future reference and filtering. E.g.- hotel |
description | string | Optional description for the geofence. E.g.- This is just a 5 star cool hotel where you can stay. |
is_enabled | boolean | Enable/Disable 'event_trigger' for Geofences. By default event triggers are disabled. E.g.- true or false |
Sample Request
Last updated