Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to bulk deactivate users in bulk on a Confluence instance using Confluence Command Line Interface (CLI).

Instructions

  1. Create a CSV file with the list of users as shown in the screenshot below:
    Image Modified
  2. 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
    themeMidnight
    --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

for

in the server version of Confluence and not

 available for

in the Cloud version

of Confluence

.