Update user geofence by id
PUT
/users/id/geofences/fk
Authorizations
ApiKeyAuth
TypeAPI Key (header: Authorization)
Parameters
Path Parameters
id*
user id
Typestring
Requiredformat
JSON
fk*
Foreign key for geofences
Typenumber
Requiredformat
integer
Request Body
JSON
{
"outline": [
{
}
],
"center": {
"lat": 0,
"lng": 0
},
"radius": 0,
"type": "string",
"name": "string",
"wasInside": false,
"lastChecked": "string",
"modified": false,
"meta": {
},
"foreignId": "string",
"id": 0,
"deviceId": 0,
"configId": 0,
"userId": 0
}
Responses
Body (JSON)
application/json
JSON
{
"outline": [
{
}
],
"center": {
"lat": 0,
"lng": 0
},
"radius": 0,
"type": "string",
"name": "string",
"wasInside": false,
"lastChecked": "string",
"modified": false,
"meta": {
},
"foreignId": "string",
"id": 0,
"deviceId": 0,
"configId": 0,
"userId": 0
}
PUT
/users/id/geofences/fk