DELETE /V1/cmsBlock/:blockId
DELETE /V1/cmsBlock/:blockId is a Magento 2 REST endpoint in the Cms module. Delete block by ID. Requires an admin Bearer token with ACL Magento_Cms::block.
Last verified: against Magento 2.4.9.
Returns
bool
true on success
Service contract
Magento\Cms\Api\BlockRepositoryInterface::deleteById
Authorization
Admin Bearer token with ACL:
- Magento_Cms::block
Path parameters
Example request
Auto-generated from the service contract — paste-ready against your store's /rest/default base. Replace the host, store code, ACL token, and any required values before running.
Headers
Path
/V1/cmsBlock/{blockId}Related in Cms
Other endpoints shipped by the same module.
/V1/cmsBlock
Save block.
Cms · Magento\Cms\Api\BlockRepositoryInterface::save
/V1/cmsBlock/:blockId
Retrieve block.
Cms · Magento\Cms\Api\BlockRepositoryInterface::getById
/V1/cmsBlock/:id
Save block.
Cms · Magento\Cms\Api\BlockRepositoryInterface::save
/V1/cmsBlock/search
Retrieve blocks matching the specified criteria.
Cms · Magento\Cms\Api\BlockRepositoryInterface::getList
/V1/cmsPage
Save page.
Cms · Magento\Cms\Api\PageRepositoryInterface::save
/V1/cmsPage/:id
Save page.
Cms · Magento\Cms\Api\PageRepositoryInterface::save
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.