Admin CMS
Update a CMS page (locale-nested)
Mirrors Bagisto admin CMS → Pages → Edit. Validation is LOCALE-NESTED: <locale>.url_key, <locale>.page_title, <locale>.html_content are required. Top-level: channels (required), locale (required — names which locale block is being updated). url_key uniqueness excludes the current page.
put/cms/pages/{id}
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Example:7
CMS page ID.
Request body
Example request
{
"locale": "en",
"channels": [
1
],
"en": {
"url_key": "about-us",
"page_title": "About Us (Updated)",
"html_content": "<h1>About Us</h1><p>Welcome back.</p>",
"meta_title": "About Us",
"meta_keywords": "about,us,company",
"meta_description": "Updated description."
}
}Response
Page updated.
Changes
No recorded changes to this operation across all 8 revisions of this API.