Websites - Protected
Protected Apply Block
Apply a block to multiple pages at once.
- Replaces existing block of same type, or inserts at start (header) / end (footer)
- Generates new unique IDs for each page to prevent collisions
Request body: { "block": { "id": "...", "type": "BarraSuperior", "props": {...}, "children": [...] }, "page_ids": [1, 2, 3, 5] }
put/api/websites/{website_id}/apply-block
Path parameters
website_idinteger required
Headers
x-api-tokenstring nullable
Request body
object required
Response
Successful Response
{"stackTrail":"paths:/api/websites/{website_id}/apply-block:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.