wiki_move_page
Move a wiki page to a new parent and/or a new space. All body fields are optional and use slugs (resolved server-side in the target space) instead of UUIDs: targetSpaceKey for cross-space moves (omit to stay in the current space); newParent is the slug of the new parent page (omit/null to move to space root); afterPage is the slug of the sibling page to insert after (omit/null to place first). Returns the moved page DTO. Page results include webUrl: a browser link requiring normal workspace access. Use it for citations; it does not make the page public. API-key scope: wiki:pages:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug of the page to move | |
| account | No | Multi-account auth only: name of the account from X-Dutify-Accounts to use for this call. Ignored in single-account mode (X-API-Key header). When multiple accounts are configured and this is omitted, the call fails with ACCOUNT_REQUIRED listing the available names. list_accounts never requires a selection. | |
| spaceKey | Yes | Source space key | |
| afterPage | No | Optional sibling page slug to insert after (omit or null to place first) | |
| newParent | No | Optional new parent page slug (omit or null to move to space root) | |
| workspace | No | Workspace identifier or exact name for this call. Overrides the configured workspace. For personal keys, discover candidates with list_workspaces and select explicitly. Does not change other calls or expand a workspace key's access. | |
| targetSpaceKey | No | Optional target space key for cross-space moves |