How can I archive a confluence space using REST api

I have found documentation on how to archive confluence spaces using user interface here:

Is there a way to do the same, i.e. archive an existing space, using confluence REST api?
I couldn’t find anything to achieve that here:

Currently only the space name, description and homepage can be updated.

It doesn’t appear possible at this time. The status field (set to ‘current’) is what you’d like to set.

1 Like

Hello. Is anything changed for this item? CC: @dom, @sfbehnke.

Not to my knowledge… but to be fair, I have not tried in 2+ years :wink:

I found this old user community post which answers that it is possible

curl --request PUT
–url ‘{spaceKey}
–user ‘’
–header ‘Accept: application/json’
–header ‘Content-Type: application/json’
–data ‘{“status”: “archived”}’

If it’s a personal space you’ll need an extra property "type": "personal":

curl -v --request PUT
–url '
–user '
–header ‘Accept: application/json’
–header ‘Content-Type: application/json’
–data ‘{“type”: “personal”, “status": “archived”}’