Update the form theme
Replace the theme object and optionally update the logo or favicon.
PATCH
/api/v1/forms/{formId}/themeAuthorization
Authorization required string · header
Bearer <token> with an account API key that has the forms:write scope. Path parameters
formId required string
Request body
application/json
theme required object
fontFamily, questionTextColor, answerTextColor, buttonBackground, buttonTextColor, backgroundColor, backgroundImage, and customCSS. backgroundBrightness is a number between −100 and 100. CSS values are validated. logostring or null
null to clear it. faviconstring or null
null to clear it. Response
200 · application/json
Source model: FormModel.
| Field | Type | Description |
|---|---|---|
id | string | ID returned by the operation. |
updated | boolean | Whether the update succeeded. |