This article provides steps on how to archive a space in confluence using our app Confluence Command Line Interface app
\uD83D\uDCD8 Instructions
Use
...
the updateSpace action to update a Confluence page. Execute the following action to archive a space using confluence CLI
...
:
Code Block --action updateSpace --space TEST --options status=archived
Modify the space key in the above command as per your instance.
Info |
---|
Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu. |
\uD83D\uDCCB Related articles
...
These are the parameters used in the CLI action:
Results in confluence:
...
Info |
---|
It is recommended to test this scenario in a non-production environment or run the action with the --simulate parameter to verify the behavior before deploying in a production environment. |