Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article provides steps on how to archive a space in confluence using our app Confluence Command Line Interface app

\uD83D\uDCD8 Instructions

  1. Use the below command 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.

...


...

  1. The parameters used in the CLI action are 
    --space - Space key. For some actions, a space name may also work.
    --options - Client or action-specific advanced options.

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.