Skip to main content
PATCH
Set the site theme

Authorizations

Authorization
string
header
required

A workspace API key: wdy_live_… / wdy_test_…. Created at POST /workspaces/{tenantId}/keys and shown exactly once.

Path Parameters

projectId
string
required

Body

application/json
tokens
object | null
required

A partial token patch (e.g. {"colors":{"primary":"#6d28d9"}}), or null to reset to the wondeya defaults.

Response

tokens
object
required

The tokens in force.

cssVariables
object
required

Ready-to-inject CSS custom properties, all values ours (D-9).

customized
boolean
required

False while the site is on the wondeya defaults.

updatedAt
string<date-time>