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