Run in Apidog
Update a list of existing devices. Replaces the entire existing device definition. For the function array this will mean the existing device functions will be replaced with those specified in this call.
Request Body Params application/json
[
{
"address" : "{{gateway-uuid}}" ,
"name" : "{{$commerce.productAdjective}} {{$commerce.productName}}" ,
"class" : "cls:AllAttributes" ,
"functions" : [
{
"id" : "fBasicFunction" ,
"type" : "BasicFunction"
}
]
}
]
Request samples curl --location -g --request PUT 'https://iot.exati.com.br/talq/devices?clientAddress={{gateway-uuid}}' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"address": "{{gateway-uuid}}",
"name": "{{$commerce.productAdjective}} {{$commerce.productName}}",
"class": "cls:AllAttributes",
"functions": [
{
"id": "fBasicFunction",
"type": "BasicFunction"
}
]
}
]'
Responses application/json
The list of device is successfully updated
[
{
"address" : "string" ,
"name" : "string" ,
"class" : "string" ,
"functions" : [
{
"id" : "string" ,
"type" : "BasicFunction"
}
]
}
]
Modified at 2025-07-30 16:48:35