For the complete documentation index, see llms.txt. This page is also available as Markdown.

Take a site offline by unpublishing it

Removes the site from public access by unpublishing it. The site's configuration and content are preserved; use the publish endpoint to make it accessible again. Use this when you need to temporarily hide a site or take it down for maintenance.

Available in MCP
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
siteIdstringRequired

The unique id of the site

Responses
200

Site unpublished successfully

application/json
objectstring · enumRequiredPossible values:
idstringRequired

Unique identifier of the site

typestring · enumRequired

The type of the site

Possible values:
appliedTypestring · enumRequired

The currently applied type of the site. For example, frozen sites will have this set to Basic.

Possible values:
titlestring · min: 2 · max: 128Required

Title of the site

iconone of · nullableOptional
or
or
objectOptional
hostnamestring · max: 512Optional

Custom hostname for the site, for e.g. docs.mycompany.com

Pattern: ^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
basenamestring · min: 1 · max: 100Optional

Basename for the site. For e.g. api

visibilitystring · enumRequired

The visibility setting of the site determines the audience of the site.

  • public: Anyone can access the site, and the site is indexed by search engines.
  • unlisted: Anyone can access the site, and the site is not indexed by search engines
  • share-link: Anyone with a secret token in the url can access the site.
  • visitor-auth: Anyone authenticated through a JWT token can access the site.
Possible values:
defaultLevelone ofRequired

Default level for a piece of content

string · enumOptional

"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review content. "edit": Can edit the content (live or change requests). "comment": Can access the content and its discussions. "read": Can access the content, but cannot update it in any way.

Possible values:
or
nullOptional
or
string · enumOptionalPossible values:
publishedbooleanRequired

Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting.

siteSpacesnumberRequired
createdAtstring · date-timeRequired
adsone ofOptional
or
or
or
post/orgs/{organizationId}/sites/{siteId}/unpublish
200

Site unpublished successfully

Last updated

Was this helpful?

Powered by GitBook