Skip to content

Powered by Grav + Helios

Move Page

Move Page

POST /pages/{route}/move
Move a page to a new parent location.

Parameters

Name Type Description
route required string The current page route (path parameter)
parent required string The target parent route
slug optional string Optionally rename the slug during the move
order optional integer Numeric ordering prefix at the new location
JSON
{"parent": "/blog", "slug": "moved-post"}

Response Codes

200 Page moved
401 Unauthorized
404 Page not found
422 Validation error