Updates config info
PUThttps://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.
- application/json
Body
JSON-formatted document describing the updated thing.
content stringrequired
name stringrequired
Responses
- 200
- 400
- 401
- 404
- 415
- 500
Config updated.
Bad request.
Unauthorized.
Config not found.
Missing or unsupported content type.
Unexpected server error.
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
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"
}'