Upsert Section
Creates the section, or updates the one with the same name. Needs a key with Website Content: Read and Write (website-content:write).
The body and rules are the same as Create Section. Sending an identical payload again writes nothing: no duplicate, the id is kept and updated_at does not change, so a migration can be re-run safely.
Unlike pages and menus, a soft-deleted section is not restored: an upsert creates a new one.
Headers
GorillaDash-Api-Key
Gorilla Dash API Key
GorillaDash-Api-Secret
Gorilla Dash API Secret
Request
This endpoint expects an object.
name
contents
Response
Created
success
status
data
