I have a list of confluence spaces which I want to Archive. Are there any APIs through which we can archive them?
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.
Hi,
Were you able to find solution for this?
Thanks.
It looks like you're new here. Sign in or register to get started.