Update metadata for a site.

Update the metadata for an existing site. A default site with ID 'default' exists out-of-the-box.

The update data must include the rev and name metadata fields.

User roles: admin, manager, editor

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The ID of the site.

Query Params
boolean

Force update of the existing site metadata without requiring the current rev value.
When set to true this request will overwrite the stored site metadata regardless of a difference in revisions.

Body Params

Provide the updated site metadata in the body of the request. The current revision (rev) and the site name (name) fields must be provided in order to update the site metadata.

Updating Site Metadata

string

The ID of the site.

string

The current revision of the document. This is a required field.

string

The name of the site. This is a required field.

string

The is the routing mode for the site, values are either 'anchor' or 'path'. The property controls the URL structure that is used to address individual pages within the site. With a routing mode of 'anchor' pages are addressed by URL anchors that are relative to the site root document, for example 'https://your.host/#/products'. With a routing mode of 'path' pages are addressed by URL path fragments instead of '#' anchors, for example 'https://your.host/products'. The 'path' mode is recommended for allowing external search crawlers to index the pages as separate documents.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json