Hello Atlassian Community,
I need to update the status of a Confluence space from "Current" to "Archived" using the Confluence REST API, but I’m having trouble finding the right endpoint . I would appreciate any guidance on how to achieve this.
I tried this one : rest/api/space/${spaceKey}
And this one : rest/api/content/193515306
They both update the spaces but they don't update the "status" attribute.
Questions:
- Is there an API endpoint or workaround to change the status of a Confluence space to "Archived"?
- If no direct API method exists, are there any recommended practices to programmatically mark a space as "Archived"?
Thank you for your help and guidance!