It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Copy page to new space with REST API

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

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

You can mark this as duplicate...

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,196 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you