Update Site

PATCH

Update a site. This endpoint requires an Enterprise workspace. Required scope | sites:write

Path parameters

site_idstringRequired

Unique identifier for a Site

Request

This endpoint expects an object.
namestringOptional

The name of the site

parentFolderIdstringOptional

The parent folder ID of the site

Response

Request was successful

idstring

Unique identifier for the Site

workspaceIdstringOptional

Unique identifier for the Workspace

createdOndatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

Date the Site was created

displayNamestringOptional

Name given to Site

shortNamestringOptional

Slugified version of name

lastPublisheddatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

Date the Site was last published

lastUpdateddatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

Date the Site was last updated

previewUrlstringOptional

URL of a generated image for the given Site

timeZonestringOptional

Site timezone set under Site Settings

parentFolderIdstringOptional

The ID of the parent folder the Site exists in

customDomainslist of objectsOptional
localesobjectOptional