Add a space to a site as a content source
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$siteIdstringRequired
The unique id of the site
Body
spaceIdstringRequired
ID of the space
sectionIdstringOptional
ID of the section to add the space to. If not provided, the space will be added to the default section or at the root level if the site has no sections.
draftbooleanOptionalDefault:
Whether the site space should be created as draft. Defaults to false.
falseResponses
201
Space added to the site
application/json
post/orgs/{organizationId}/sites/{siteId}/site-spaces
201
Space added to the site
Last updated
Was this helpful?