Skip to end of banner
Go to start of banner

How to bulk deactivate users in Confluence using CLI

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This article explains how to bulk deactivate users in Confluence instance using Confluence Command Line Interface.

Instructions

  1. Create a CSV file with the list of users as shown in the screenshot below:


  2. Write an action with runFromCsv and updateUser actions together to deactivate multiple users in a Confluence instance. Please see the example action below:

    --action runFromCsv --common "--action updateUser --deactivate" --file "user.csv"

    This action runs and disables the users in Confluence instance.


updateUser action is only available for the server version of Confluence and not available for Cloud version of Confluence.
  • No labels