This article explains how to bulk 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 in the screenshot below:
Write an action with runFromCsv and updateUser updateUser actions together to deactivate multiple users in a Confluence instance. Please see the example action below:
Code Block theme Midnight --action runFromCsv --common "--action updateUser --deactivate" --file "user.csv"
This action runs and disables the users in Confluence instanceas required.
Infonote |
---|
updateUser action is only available forin the server version of Confluence and not available forin the Cloud version of Confluence. |