> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Move Page

Move a page to a new location relative to a 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

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.

<Note>
  External Documentation

  To learn more, visit the [Confluence documentation](https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content---children-and-descendants/#api-wiki-rest-api-content-pageid-move-position-targetid-put).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                                                                                                                                                                                               |
  | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | ID        | The ID of the page to be moved.                                                                                                                                                                                                                                                                                                                           |
  | Position  | The position to move the page to relative to the target page:<br />\* `before` - move the page under the same parent as the target, before the target in the list of children<br />\* `after` - move the page under the same parent as the target, after the target in the list of children<br />\* `append` - move the page to be a child of the target. |
  | Target ID | The ID of the target page for this operation.                                                                                                                                                                                                                                                                                                             |
</div>

## Example Output

```json theme={"dark"}
{
	"pageId": "string"
}
```

## Workflow Library Example

[Move Page with Confluence and Send Results Via Email](https://library.blinkops.com/workflows/move-page-with-confluence-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/move-page-with-confluence-and-send-results-via-email/canvas" />
</div>
