- README
- Update Record
- token
- customer
- device
- fence
- push
- video
- alarm
- audio
- gallery
- fleet
- gps
- Protocol AnalysisPOST
fenceDeviceUpdate
Singapore
Singapore
POST
/v2/openapi/fence/device/update
Request
Header Params
Authorization
string
required
Body Params application/json
fenceId
string | null
required
Default:
null
deviceIds
string | null
optional
Default:
null
Example
{
"fenceId": "null",
"deviceIds": "null"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mettahub.mettaxiot.com/gps/v2/openapi/fence/device/update' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"fenceId": "null",
"deviceIds": "null"
}'
Responses
🟢200Success
application/json
Body
code
integer | null
optional
data
object ()
optional
msg
string | null
optional
Example
{
"code": 0,
"data": {},
"msg": ""
}
Modified at 2024-01-02 08:07:08