KNOWLEDGE BASE

Delete Multiple Users from Tableau Server in Bulk with a Script


Published: 28 Apr 2023
Last Modified Date: 28 Apr 2023

Question

How to delete multiple users from Tableau Server using a script. 

Environment

  • Tableau Server 2022.1
  • Windows Server 2019

Answer

Use the "tabcmd" option in your script as follows:
 
tabcmd deletesiteusers "Users.csv" --server "http://xxxxx/#/" --user "user_name" --password "*******"


Notes:
Be sure to have the password in quotes.
The CSV file should only contain the username and no heading or other information.
 
Did this article resolve the issue?