Update Page
PATCH
/pages/{route}
Partial update of a page. Only provided fields are changed.
Parameters
| Name | Type | Description |
|---|---|---|
| route required | string | The page route (path parameter) |
| title optional | string | Updated page title |
| content optional | string | Updated markdown content |
| header optional | object | Header values to merge into existing frontmatter |
| template optional | string | Change the page template |
| published optional | boolean | Set the published state |
| visible optional | boolean | Set the visible state |
JSON
{"title": "Updated Title", "header": {"subtitle": "New subtitle"}}
Response Codes
200
Success
401
Unauthorized
404
Page not found
409
Conflict (ETag mismatch)
422
Validation error
Supports optimistic concurrency control via the If-Match header. Include the ETag from your last GET request to prevent overwriting concurrent changes.