Skip to main content

Updates thing info

PUT 

https://apis.<domain>/iot/things/:thingId

Authorization: http

name: bearerTokentype: httpscheme: bearerin: headerdescription: Authorization Header: `Authorization: Bearer <user_token>`

Update is performed by replacing the current resource data with values provided in a request payload. Note that the thing's type and ID cannot be changed.

Authorization Action:

core:things:update

Request

Path Parameters

    thingId uuidrequired

    Unique thing identifier.

Body

required

Arbitrary, object-encoded thing's data.

    name string

    Free-form thing name.

    metadata object

Responses

Thing updated.

curl -L -X PUT 'https://apis.<domain>/iot/things/:thingId' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"metadata": {}
}'
Request Collapse all
Base URL
https://apis.<domain>
Auth
Parameters
— pathrequired
Body required
{
"name": "string",
"metadata": {}
}