Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Are there any APIs which can be used to archive confluence spaces in bulk

Joseph July 20, 2021

I have a list of confluence spaces which I want to Archive. Are there any APIs through which we can archive them?

1 answer

4 votes
Joseph July 23, 2021

I have tried to use below from one of the atlassian docs:

url --request PUT \
 --url 'https://your-domain.atlassian.net/wiki/rest/api/space/{spaceKey}' \
 --user 'email@example.com:' \
 --header 'Accept: application/json' \
 --header 'Content-Type: application/json' \
 --data '{"status": "archived"}'


But it is giving me 500 internal server error. However the GET request is working fine.
Suleman Khan August 23, 2022

Hi,

Were you able to find solution for this?

Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events