put https://api.duda.co/api/sites/multiscreen//theme
Update the theme of a site by name.
The request JSON must provide the id
of the color.
Send entire JSON Body
This API requires all colors within the site's theme to be sent in order to update.
Data | Type | Description |
---|---|---|
id | string | Needs to follow the pattern: "color_". (color_1, color_2, etc). This property cannot be changed. |
value | string | RGB/RGBA/HEX color value. This will be converted to RGBA by Duda. |
label | string | 50 chars max. HTML-safe string |
{
"colors": [
{
"id": "string",
"value": "string",
"label": "string"
}
]
}