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 -X GET "https://my.confluence.domain/confluence/rest/api/content/movepage.action?pageId=111111111111&spaceKey=xxxxxxxxxx&position=topLevel" -H "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.
rephrased the question inside https://community.atlassian.com/t5/Confluence-questions/Copy-page-hierarchy-in-Confluence-Server-via-REST-API/qaq-p/692654#U1309806
You can mark this as duplicate...
It looks like you're new here. Sign in or register to get started.