which api curl call can i use to get users storage informations
AnsweredPlease am looking for an API Curl request that I can use to get my storage quota, used quota etc...
I only found this link below but its not what I want.
https://developer.box.com/reference#as-user-1
Thanks
-
Hi ,
If you're looking for this information for a user, the get user endpoint will allow you to fetch information on storage quota and used #. In the response object there will be space_amount and space_used that should give you those values.
- Jon
-
Hi ,
Hope you're doing well. You're close! The calls to get a user's information are Get User Information or Get Current User's Information
The fields you want specifically are space_used and space_amount on the User Object.
You'll find curl examples on the right hand sidebar. Hope that helps!
Thanks,
Jason
** EDIT **
What Jon said. 🙂 He beat me to it!
Please sign in to leave a comment.
Comments
2 comments