PUT /wiki/rest/api/content/{pageId}/move/{position}/{targetId}

Move a page to a new location relative to a target page:

Caution: This API can move pages to the top level of a space. Top-level pages are difficult to find in the UI because they do not show up in the page tree display. To avoid this, never use before or after positions when the targetId is a top-level page.

Servers

Path parameters

Name Type Required Description
pageId String Yes

The ID of the page to be moved

targetId String Yes

The ID of the target page for this operation

position String Yes

The position to move the page to relative to the target page:

  • before - move the page under the same parent as the target, before the target in the list of children
  • after - move the page under the same parent as the target, after the target in the list of children
  • append - move the page to be a child of the target

Possible values:

  • "before"
  • "after"
  • "append"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.