Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using the Rest API, how do I move a child page to the root level ( e.g. no parent )

Evgeniy Belov November 23, 2020

The wiki rest:

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

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

says targetId is required.  So, if I want to set the targetid to Null, it fails.

 

Thanks.

1 answer

1 accepted

0 votes
Answer accepted
Pavel Potcheptsov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 24, 2020

Root level, i.e. Space home page has it's own pageId.

Hover mouse to Edit button to see it or press Page Information to see it in address bar.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events