IotHub TALQ
  1. Devices
IotHub TALQ
  • API
    • Guia
      • Vendor
        • Create a Guia Vendor
        • List Guia Vendors
        • Modify a Guia Vendor
        • Modify a Guia Photo Vendor
      • Devices
        • List Guia Devices
          GET
        • Get a Guia Device
          GET
        • Get a Guia Device Attribute History
          GET
        • List Guia Gateways
          GET
        • Modify devices
          PATCH
        • Modify device
          PATCH
        • Modify device function
          PATCH
        • Modify device - Set External Id
          PATCH
        • Modify device function attribute
          PATCH
        • Modify a Guia Change Asset Device
          PATCH
        • Create a Guia Device From Identified Material
          POST
        • Create a Guia Device Multiple From Identified Material
          POST
      • Device classes
        • List Guia Device Classes
        • Get a Guia Device Class
        • List Guia Device Class Functions
      • Functions
        • List Guia Functions
        • List Guia Function Attributes
        • List Guia Function Types
      • Attributes
        • List Guia Attributes get
        • List Guia Function Attributes
      • Groups
        • Create a Guia Group
        • List Guia Groups
        • Get a Guia Group
        • Get Count
        • Get a Guia Group Member Count
        • Update Groups
        • Update a Guia Group
        • Update a Guia Group Member
        • Delete a Guia Group
        • Delete a Guia Group Member
    • TALQ
      • Device Class
        • Create a Talq Device Class
        • Update Talq Device Class
        • Delete a Talq Device Class
        • Update a Talq Device Class
      • Device
        • Create a Talq Device
        • List Talq Devices
        • Modify a Talq Device
        • Update Talq Devices
        • Delete a Talq Device
        • Get a Talq Device
        • Modify a Talq Device patch
        • Update a Talq Device
        • Get a Talq Device Function
        • Get a Talq Device Attribute
      • Services
        • Create a Talq Service
      • Group
        • List Talq Groups
        • Get a Talq Group
    • Google Pub
      • Sub
        • List Pubsub Failed Messages
        • Get a Pubsub Failed Message
        • Delete a Pubsub Failed Message
        • Create a Pubsub Guia Device Multiple Devices Partial Update
        • Create a Pubsub Guia Device Partial Device Update
        • Create a Pubsub Guia Device Attribute Value Update
        • Create a Pubsub Guia Device Function Update
        • Create a Pubsub Guia Device Set External Id
        • Create a Pubsub Vendor Dispatcher Dispatch
    • Clients
      • Create a Client
      • Modify a Client Synchronize
    • Vendors
      • Create a Vendor
      • List Vendors
      • Create a Vendor Client Service Cod
      • Get a Vendor Client Service Cod
      • Delete a Vendor Client Service Cod
    • Health Check
      • List Health
  • Docs TALQ
    • Visão Geral do Projeto
    • Processo de Inicialização - Bootstrap Process
    • API TALQ
    • API GUIA
    • Tratamento de Erros
    • Configurações da instância
    • Sobreposição de comandos
  1. Devices

Modify devices

PATCH
/guia/devices
Partial update of a list of existing devices. Partially updates the existing device definition. For the function array each element passed in will be cross-referenced against items in the existing function array using the id. If they match, the existing function will be updated. If there is no match the function will be added. To remove functions from the array see ‘PUT’, where an empty or reduced function array can be passed in.

Request

Query Params

Header Params

Body Params application/json

Example
[
    {
        "uuid": "{{device-uuid}}",
        "deviceClassUuid": "5a153bc8-eec4-43c3-a373-ac7ce8722015",
        "functions": [
            {
                "type": "BasicFunction",
                "name": "fBasicFunction",
                "attributeValues": [
                    {
                        "type": "AttributeBoolean",
                        "name": "Boolean"
                    }
                ]
            }
        ]
    }
]

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 PATCH 'https://iot.exati.com.br/guia/devices?vendorUuid=1483dc91-dbf2-4c7c-bf88-595cd3ad1925' \
--header 'x-guia-uuid;' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "uuid": "{{device-uuid}}",
        "deviceClassUuid": "5a153bc8-eec4-43c3-a373-ac7ce8722015",
        "functions": [
            {
                "type": "BasicFunction",
                "name": "fBasicFunction",
                "attributeValues": [
                    {
                        "type": "AttributeBoolean",
                        "name": "Boolean"
                    }
                ]
            }
        ]
    }
]'

Responses

🟢200OK
The devices were updated successfully.
This response does not have a body.
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
🟠409409
🟠422Parameter Error
Modified at 2025-07-31 09:53:20
Previous
List Guia Gateways
Next
Modify device