This article explains how to deactivate users in bulk on a Confluence instance using Confluence Command Line Interface (CLI).
Instructions
- Create a CSV file with the list of users as required.
Write an action with runFromCsv and updateUser actions to deactivate multiple users in a Confluence instance.
--action runFromCsv --common "--action updateUser --deactivate" --file "user.csv"
This action runs and disables the users as required.
updateUser action is only available in the server version of Confluence and not in the Cloud version.