Box CLI Space Used Per User, bulk command

New post

Comments

1 comment

  • jcleblanc

    Hi ,

     

    Here's the way that I would recommend handling it:

    1. Create a csv with all of the IDs that you want to gain space information for.
    2. Call box users:get, and supply in the --bulk-file-path=bulk-file-path option with the path to that csv. That will be the bulk option for the parameter. You should also set the --csv option to return the response data as csv.
    3. Pipe the response data out to another csv file to get the appropriate data. 

    So, the command might look something like this:

     

    box users:get --bulk-file-path=FILE_PATH --csv > data.csv

    0
    Comment actions Permalink

Please sign in to leave a comment.