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 shown:required.
Write an action with runFromCsv and updateUser actions to deactivate multiple users in a Confluence instance.
Code Block theme Midnight --action runFromCsv --common "--action updateUser --deactivate" --file "user.csv"
This action runs and disables the users as required.
Note |
---|
updateUser action is only available in the server version of Confluence and not in the Cloud version. |