Copy page to new space with REST API

Francis Vila February 24, 2020

I've successfully created a new space with confluence APIs.

Now I want to copy an existing page to that new space.

I followed the example given in https://community.atlassian.com/t5/Answers-Developer-Questions/Move-Page-Confluence-Rest-API/qaq-p/503204

curl -u uuuuuuu:pppppppppp -GET "https://my.confluence.domain/confluence/rest/api/content/movepage.action?pageId=111111111111&spaceKey=xxxxxxxxxx&position=topLevel" -"x-atlassian-token: no-check" 

I also tried replacing movepage with copy, copypage. Also without the atlassian-token: no-check. I get no error messages, but the page does not appear in the target space.

1 answer

1 accepted

Francis Vila February 25, 2020

You can mark this as duplicate...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events