curl --location -g --request POST 'https://localhost:8092/json-rpc/config/update' \
--header 'Authorization: Bearer <token>' \
--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
}'
{
"command": "config-setconfig",
"success": true,
"tan": 4711
}