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
Request
- Base URLhttps://api.multigest.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.multigest.pt/api/websites/{website_id}/apply-block
- AuthAPI key in header x-api-token and API key in header x-origin-verify
Path parameters
website_idinteger required
Headers
x-api-tokenstring nullable
Request body
object required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 21 revisions of this API.