PUT request with any combination of the updatable fields — title and content. You only need to include the fields you want to change; any fields you omit retain their current values. The API returns the full updated page object on success.
Endpoint
Path Parameters
The unique identifier of the page you want to update. Retrieve this from the List Pages or Create Page endpoints.
Request Body
The new title for the page. Must be between 1 and 255 characters. If omitted, the page’s existing title is preserved.
The new body content for the page. Accepts plain text or Markdown. If omitted, the page’s existing content is preserved. Pass an empty string to explicitly clear the content body.
At least one of
title or content must be present in the request body. Sending an empty JSON object {} returns a 422 Unprocessable Entity error.Request Example
Response
A successful request returns a200 OK status and the full page object reflecting all changes.
Response Fields
The unique identifier for the page. Unchanged by the update.
The current title of the page after the update.
The current body content of the page after the update.
ISO 8601 timestamp recording when the page was originally created. Unchanged by the update.
ISO 8601 timestamp recording when this update was applied. This value changes with every successful update.
Response Example
Error Responses
Page not found (404):
422):