Docs
API ReferenceReferenceKnowledgebases

Move a page

POST
/knowledgebases/{knowledgebaseId}/pages/{pageId}/move

Moves a page (or a folder, with everything under it) into a folder or under another page of the same knowledgebase, or to the top level with parentPageId: null. Structural only: content, links and history are untouched and nothing waits for review. A page cannot be moved inside its own sub-pages (invalid_request); a parent outside the knowledgebase is not_found. Requires the knowledge:write scope; a personal key also needs the member role or above.

AuthorizationBearer <token>

An organization API key, created from a Portal's Webhooks page (Provisioning API card). The secret is shown once at creation and stored only as a hash. Keys are organization-wide and carry scopes (end_users:read, end_users:write). Rate limit: 120 requests per minute per key (sliding 60-second window).

In: header

Path Parameters

knowledgebaseId*string
Formatuuid
pageId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/knowledgebases/497f6eca-6276-4993-bfeb-53cbbbba6f08/pages/497f6eca-6276-4993-bfeb-53cbbbba6f08/move" \  -H "Content-Type: application/json" \  -d '{    "parentPageId": "3b2da02d-bb1b-462e-a4ca-3235cd1dd440"  }'
{  "page": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "knowledgebaseId": "2eaa043e-18a5-42f0-bbe8-1ad77d6f870c",    "title": "string",    "parentPageId": "3b2da02d-bb1b-462e-a4ca-3235cd1dd440",    "updatedAt": "2019-08-24T14:15:22Z"  }}