title: How to batch update Box enterpise users
body: <p>I have successfully pulled back a list of enterprise users using the Box API:
  <a href="http://developers.box.com/docs/" rel="nofollow">http://developers.box.com/docs/</a></p>
  
  <p>I now want to batch update a group of users, setting the group to Inactive.</p>
  
  <p>In the API, I see that you can update a single user like this: <code>PUT /users/{id}</code></p>
  
  <p>I believe I can just loop through a list of users from a .csv file and individually set each of them to "inactive" via the method above. The problem is that I don't know the ID of each user to include in the .csv file. If I export the users via the Box Admin Console's "Bulk Edit" feature, I get a .csv file of the users, but it only contains the following columns: Name, Email, Groups, and Storage.</p>
  
  <p>So, my first thought is that there may be some way to update the user through the API using the email address.
  As in, first search for the user via the email address, then get the ID from the results, and finally use the returned ID to update the user account. Is this possible or can you suggest another way to solve this problem?</p>