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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.