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

Update a navigation section in a site

Updates a navigation section's configuration in the site structure.

Available in MCP
patch
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

siteSectionIdstringRequired

The unique id of the section within a site

Body
titlestring · min: 2 · max: 128Optional

Title of the site section

pathstring · min: 1 · max: 100Optional

Path to the section on the site

defaultSiteSpacestringOptional

ID of the site-space to be used as the default in this section.

conditionstring · max: 1024 · nullableOptional

Conditional expression used to evaluate whether the site section should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.

iconstring · icon · max: 50 · nullableOptional

Name of the icon

Example: gear
draftbooleanOptional

Whether the site section should be kept in draft mode. Setting it to true makes the site section draft. Setting it to false makes the site section live.

descriptionstring · max: 256 · nullableOptional

Description of the site section

siteSectionGroupIdstring · nullableOptional

ID of the section group to move the section into. Set to null to move the section to the root of the site.

Responses
200

OK

application/json
objectstring · enumRequired

The object type, which is always "site-section"

Possible values:
idstringRequired

Unique identifier of the site section

titlestring · min: 2 · max: 128Required

Title of the site section

descriptionstring · max: 256Optional

Description of the site section

defaultbooleanOptional

Whether this is the default section for the site

draftbooleanRequired

Whether the site section is draft and not live.

pathstring · min: 1 · max: 100Required

Path to the section on the site

conditionstring · max: 1024Optional

Conditional expression used to evaluate whether the site section should be shown to the site's visitor.

sectionGroupstringOptional

ID of the section group the section belongs to in the site

iconstring · icon · max: 50Optional

Name of the icon

Example: gear
patch/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}
200

OK

Last updated

Was this helpful?

Powered by GitBook