Skip to main content
PATCH
Update the hosted blog settings

Authorizations

Authorization
string
header
required

Headers

X-Workspace-Id
string<uuid>
required

UUID of the workspace to act in. Take it from GET /me (workspaces[].id). A key scoped to specific workspaces is rejected with 403 WORKSPACE_NOT_ALLOWED for any other id; a missing header is 400 WORKSPACE_REQUIRED.

Body

application/json
enabled
boolean
title
string
Required string length: 1 - 120
tagline
string | null
Maximum string length: 200
accentColor
string | null
Pattern: ^#[0-9a-f]{6}$
themePreset
enum<string>
Available options:
editorial,
minimal,
bold
fontPreset
enum<string>
Available options:
sans,
serif
colorScheme
enum<string>
Available options:
auto,
light,
dark
logoLayout
enum<string>
Available options:
square,
wide
defaultLanguage
string
Pattern: ^[a-z]{2}$
poweredByEnabled
boolean
autoPublish
boolean
redirectDefaultToCustom
boolean
Maximum array length: 6
Maximum array length: 6
customCss
string | null
Maximum string length: 100000

Response

The updated settings

data
object
required