This article explains how to bulk 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 in the screenshot below:required.
Write an action with runFromCsv and updateUser actions together to deactivate multiple users in a Confluence instance. Please see the example action below: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 in Confluence instance.
...