This article explains how to bulk deactivate users in Confluence instance using Confluence Command Line Interface.
Instructions
- Create a CSV file with the list of users as shown in the screenshot below:
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.