Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Is it possible to archive a page through the Confluence Cloud API?

Does anyone know whether it's possible to archive a page using the Confluence Cloud API? I've looked through this documentation but haven't found anything. So I don't think it's possible, but I'd like to get confirmation of that before I give up completely. If it's relevant my company is on Standard licensing.

1 answer

1 accepted

1 vote
Answer accepted

Hello @Connor

You can archive an entire Space via the REST API by changing its status to 'archived', as per this thread.

Try using the Update content endpoint to set the status of the page to 'archived' to see what happens. I tested that endpoint and it works fine for changing a page's status to current, trashed, historical or draft as per the REST API documentation:

Query parameters



The updated status of the content. Use this parameter to change the status of a piece of content without passing the entire request body.

Default: current

Valid values: current, trashed, historical, draft

I'm on the Confluence free plan, which doesn't provide archiving, so I can't test any further.

Thank you for the guidance @David Bakkers 

I tested out your suggestion but ultimately wasn't able to archive the page. It seems like the update content endpoint hasn't been updated yet to work with the archived status. 

I was able to execute this request, using the archived status, and a 200 response was returned. But the status was not updated, the response body just contained the original current status.

curl --request PUT \
--url '{id}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"version": {
"number": 19
"title": "<string>",
"type": "page",
"status": "archived"

Interestingly, using the get content properties endpoint against an archived page you can see that the status of the page is set to archived. So "archived" does appear to be the correct status value to use for a page just like Spaces, hopefully Atlassian eventually allows it to be used.

Well @Connor , it was worth a try anyhow.

I just tried to set the status of a page to archived and I too got a 200 response back that everything was fine, but when I checked, the page status had stayed as current.

I've raised this as a feature request for Confluence Cloud (CONFCLOUD-72078), so you can go and vote for it.

Thanks for raising the request, I've added my vote to it.

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Confluence

🥓🙅🏻‍♀️ Meet-less May Badge!

Hello Confluence Community!  What if i told you that you could have a healthier life and be 100% meet-less? This month, we're promoting a healthy, balanced work diet with Confluence. (Read m...

523 views 3 23
Read article

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