Set a site block's status

Sets the block status. The body `{ status }` accepts `published` (make the block visible via the public API) or `draft` (hide it while preserving its data).

Required permissions
site_blocks.publish
POST/site-blocks/{slug}/status
Base URLhttps://api.lynkow.com/v1

Path parameters

slug
string
required

URL-friendly identifier, unique per site and locale

Feedback

Was this page helpful?