Skip to main content

Update Page

API operation: Open the endpoint in Scalar

Use PUT /pages/{page_id} to update a page. The current public operation is Page.update.put.

This operation requires administrator authentication and a numeric page identifier. Mutable fields can cover content, slug, visibility, page type, and SEO data.

See Pages model. Accepted fields and image-upload behavior depend on the request.

OpenAPI reference​

Operation: PUT /pages/{page_id}

Path parameters

NameTypeRequiredDescription
page_idintegerYes—

Request body fields

NameTypeRequired
bodyanyNo
enabledbooleanNo
nameanyNo
publicbooleanNo
seo_descriptionanyNo
seo_image_fileanyNo
sluganyNo
typeanyNo

Responses

CodeDescription
200OK (Envelope)
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference