Versions Compared


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

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


updateUser action is only available in the server version of Confluence and not in the Cloud version.


  1. Create a CSV file named user.csv with the list of users as required.
    Image Modified
  2. 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
    --action runFromCsv --file "user.csv" --common "--action updateUser --deactivate" --file "user.csv"

    This action runs and disables the users as required.