Page
Update contentlet styles in a page
Updates style properties for contentlets within containers on a specific page. Only updates the styleProperties field without modifying page structure.
put/api/v1/page/{pageId}/styles
Path parameters
pageIdstring required
Page identifier
Request body
Example request
{
"identifier": "//demo.dotcms.com/application/containers/default/",
"uuid": "1"
}Response
Contentlet styles updated successfully
Example response
{
"entity": [
{
"containerId": "//demo.dotcms.com/application/containers/default/",
"dotStyleProperties": {
"color": "#FF0000",
"margin": "10px"
}
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.