Skip to navigation

Create Section

View as Markdown

Creates a section. Needs a key with Website Content: Read and Write (website-content:write).

FieldTypeRules
namestringRequired, max 255, unique within the website.
contentsblock[]See the Pages folder description.

If a section with the same name already exists, this returns 422. Use Upsert Section when you do not know whether it exists.

Headers

GorillaDash-Api-KeystringOptional
Gorilla Dash API Key
GorillaDash-Api-SecretstringOptional
Gorilla Dash API Secret

Request

This endpoint expects an object.
namestringRequired
contentslist of objectsRequired

Response

Created
successboolean
statusinteger
dataobject

Errors

403
Forbidden Error