Welcome to the new Box Support website. Check out all the details here on what’s changed.

Bulk delete users in CLI using CSV file

Answered
New post

Comments

3 comments

  • Kourtney

    Hey , 

     

    Thanks so much for using our platform and development forum! 

     

    Here are some templates: https://cloud.app.box.com/s/pmtx7ho4abpbqkylkiw8g7ycji7cpegz

     

    Best, 

    0
    Comment actions Permalink
  • Elim_Horton

    Thanks very much. I didn't see a template for DeleteUsers, but the CSV template for DeleteCollaborators worked.

     

    Essentially, the CSV file just needs a single column with the header Id, which lists the numeric IDs of the accounts to be deleted. Then the command below will delete the users and all their data:

     

    box users delete --bulk-file-path "c:\path\to\file.csv" -y -f

     

    Thanks again!

    0
    Comment actions Permalink
  • sivavura

    box users delete --bulk-file-path "c:\path\to\file.csv" -y -f

     

    where to run this cmd ?? 

    0
    Comment actions Permalink

Please sign in to leave a comment.