updateConfiguration
Testing Env
https://{{host}}:8092
Testing Env
https://{{host}}:8092
POST
/json-rpc/config/update
WebsocketHTTP/S
Sets of configuration items can be given differentiating global ones and instance specific.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://localhost:8092/json-rpc/config/update' \
--header 'Content-Type: application/json' \
--data-raw '{
"command": "config",
"subcommand": "setconfig",
"config": {
"instances": [
{
"id": 1,
"settings": {
"foregroundEffect": {
"color": [
0,
0,
255
],
"duration_ms": 3000,
"effect": "Rainbow swirl fast",
"enable": true,
"type": "effect"
}
}
}
]
},
"tan": 4711
}'
Response Response Example
Success
{
"command": "config-setconfig",
"success": true,
"tan": 4711
}
Request
Body Params application/json