settings

Set a single setting value

Sets the value of a single setting, identified by key.

post/api/settings/{id}

Path parameters

idstring required

Setting key

Headers

Comfy-Userstring

Identifies the active user in multi-user mode. Used for settings, userdata, and history isolation. This is not a security mechanism — it is an organisational convenience with no authentication behind it.

Request body

{"stackTrail":"paths:/api/settings/{id}:post:requestBody:content:application/json:schema","oasType":"schema","type":"unknown","description":"The setting value (any JSON type)"}

Response

Setting updated

Changes