PUT /V1/cmsPage/:id
PUT /V1/cmsPage/:id is a Magento 2 REST endpoint in the Cms module. Save page. Requires an admin Bearer token with ACL Magento_Cms::save.
Last verified: against Magento 2.4.9.
Returns
Magento\Cms\Api\Data\PageInterface
Service contract
Magento\Cms\Api\PageRepositoryInterface::save
Authorization
Admin Bearer token with ACL:
- Magento_Cms::save
Body 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/cmsPage/:idBody
{
"page": {
"active": false,
"content": "",
"content_heading": "",
"creation_time": "",
"custom_layout_update_xml": "",
"custom_root_template": "",
"custom_theme": "",
"custom_theme_from": "",
"custom_theme_to": "",
"id": 0,
"identifier": "",
"layout_update_xml": "",
"meta_description": "",
"meta_keywords": "",
"meta_title": "",
"page_layout": "",
"sort_order": "",
"title": "",
"update_time": ""
}
}Related in Cms
Other endpoints shipped by the same module.
/V1/cmsBlock
Save block.
Cms · Magento\Cms\Api\BlockRepositoryInterface::save
/V1/cmsBlock/:blockId
Delete block by ID.
Cms · Magento\Cms\Api\BlockRepositoryInterface::deleteById
/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
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.