Bulk update Smartblocks

Allows multiple SmartBlocks to be edited at once for example, to update the folder id of multiple SmartBlocks.
This API supports updating the folder_id, locked and active fields only. The active field should be set to true to undelete the SmartBlocks.

📘

This API supports updating the folder_id, locked and active fields only. The active field should be set to true to undelete SmartBlocks.

Path Params
string
required

Website ID for the account you are posting data to.

slugs
array of strings
required

Smartblock slug(s), comma delimited list of slugs

slugs*
Query Params
string
enum
required

Get data in JSON format.

Allowed:
Body Params

The properties to update on all blocks

boolean
Defaults to true

Indicates whether the Smartblock is active or not

boolean

Whether the Smartblock is locked to read-only

string | null

The folder id this Smartblock belongs to, if any

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json