Skip to main content

Updates config info

PUT 

https://apis.<domain>/iot/edge/configs/:configId

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 owner, ID, init ID, init key, Connhex Thing ID and key cannot be changed.

Authorization Action:

core:config:update

Request

Path Parameters

    configId uuidrequired

    Unique Config identifier. It's the ID of the corresponding Thing.

Body

JSON-formatted document describing the updated thing.

    content stringrequired
    name stringrequired

Responses

Config updated.

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