Update branding configuration for a status page.
const url = 'https://api.siteqwality.com/status_page/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/branding';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"page_title":"example","default_theme":"example","logo_s3_key":"example","logo_dark_s3_key":"example","favicon_s3_key":"example","og_image_s3_key":"example","primary_color":"example","accent_color":"example","header_text":"example","footer_text":"example","white_label":true,"meta_description":"example","custom_css":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.siteqwality.com/status_page/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/branding \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "page_title": "example", "default_theme": "example", "logo_s3_key": "example", "logo_dark_s3_key": "example", "favicon_s3_key": "example", "og_image_s3_key": "example", "primary_color": "example", "accent_color": "example", "header_text": "example", "footer_text": "example", "white_label": true, "meta_description": "example", "custom_css": "example" }'A field left out keeps its value and null clears it. Saving publishes
the page again (the status page publish layer runs on every write here).
Every field, badge removal included, is free on every plan (BD1 A).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Status page identifier
Request Body required
Section titled “Request Body required ”A field left out keeps its value and null clears it: default_theme goes
back to system, white_label to false, and every other field to unset.
An empty or blank text field clears it too.
object
At most 100 characters.
light, dark or system.
The s3_key an upload of type logo returned.
The s3_key an upload of type logo_dark returned: the logo the page
shows in its dark theme. Without it the page shows the logo in both.
#rrggbb. Colors the page title (without a logo) and headings.
#rrggbb. Colors the subscribe button, links, focus ring and chart
line; falls back to primary_color. The page adjusts both colors per
theme where needed to keep text and controls readable.
At most 500 characters.
At most 500 characters.
Hides the “Powered by Site Qwality” badge. true needs the White-Label pack.
At most 160 characters.
At most 50 KB.
Example generated
{ "page_title": "example", "default_theme": "example", "logo_s3_key": "example", "logo_dark_s3_key": "example", "favicon_s3_key": "example", "og_image_s3_key": "example", "primary_color": "example", "accent_color": "example", "header_text": "example", "footer_text": "example", "white_label": true, "meta_description": "example", "custom_css": "example"}Responses
Section titled “ Responses ”Branding updated
object
CDN URLs of the assets above, for previews.
Example generated
{ "status_page_id": "example", "page_title": "example", "default_theme": "example", "logo_s3_key": "example", "logo_dark_s3_key": "example", "favicon_s3_key": "example", "og_image_s3_key": "example", "logo_url": "example", "logo_dark_url": "example", "favicon_url": "example", "og_image_url": "example", "primary_color": "example", "accent_color": "example", "header_text": "example", "footer_text": "example", "white_label": true, "meta_description": "example", "custom_css": "example"}Invalid request body
Missing or invalid authentication
Status page not found
Internal server error