Skip to main content
PATCH
Edit a site

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
name
string
Required string length: 1 - 80
locales
enum<string>[]

Which languages this site serves (D-44). Adding one schedules the automatic translation of every copy the owner has not written in it; removing one stops serving it without deleting any text.

Maximum array length: 2
Available options:
es,
en
defaultLocale
enum<string>

The language the owner writes in: the source every other language is translated from. Must be one of locales.

Available options:
es,
en
robots
object

The robots.txt policy (D-49).

analytics
object

The Clarity/GTM/Meta Pixel ids (D-49).

sitemap
object

The extra same-site sitemap URLs (D-49).

Response

id
string
required
name
string
required

The console label. Never an address.

slug
string
required

The public address half: <slug>.wondeya.app.

locales
enum<string>[]
required
Available options:
es,
en
defaultLocale
enum<string>
required
Available options:
es,
en
robots
object
required
analytics
object
required
sitemap
object
required
llmsTxt
object
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required