T
T
The Cyprinus
Search…
UPDATE Geofence API
Use this API to update details for an existing geofence of any specific project using Update Geofence API.
put
https://api.roam.ai
/v1/api/geofence/
Update Geofence API

Sample Request

1
curl --location --request PUT 'https://api.roam.ai/v1/api/geofence/' \
2
--header 'Api-Key: e566c098cc6b441a9c3453b6fcf76e88' \
3
--header 'Content-Type: application/json' \
4
--data-raw '{
5
"geofence_id": "6dba14deda01857c3c418265",
6
"coordinates": [ -72.28122, 42.926042 ] ,
7
"geometry_radius": 177,
8
"description": "Roam Amsterdam HQ",
9
"tag": "Office",
10
"metadata": {},
11
"user_ids": ["6bda16edea01848b3b419163"],
12
"group_ids": ["5cda16edea00845b3b419173"],
13
"is_enabled": [true, "2021-06-10T18:45:00", "2021-06-10T19:29:00"]
14
}'
Copied!
Last modified 5mo ago