Privileges required to return the list of enterpri

2019-09-02 16:05发布

This question has been raised before here, but I am getting the same issue, despite being added as a co-admin under my account. The previous question does not make it clear as to what the fix was to get it working, hence me asking again.

I am trying to get a list of users using the following GET request:

https://api.box.com/2.0/users

I am setting the Authorization header with a valid access token. However, when I make the request I get back a 403 Forbidden error, with the message "The request requires higher privileges than provided by the access token".

Just to prove the tokens are correct, I am able to get my own user information using the https://api.box.com/2.0/users/me API, which return a JSON object with my information.

So my question is, is there anything else I need to do/configure to get this working?

标签: get box-api
1条回答
我命由我不由天
2楼-- · 2019-09-02 16:38

In order to give your access tokens enterprise-level privileges, you must enable the Manage an Enterprise scope in your Box application.

enter image description here

查看更多
登录 后发表回答