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

Getting 403 Forbidden while updating user PUT /users/USER_ID

New post

Comments

6 comments

  • Bibek

    Hello,

    What value are you trying to update for the user? 

    Are you updating  your own (logged in user)  field by using  URL end point  "/users/me"  OR updating some other user with As-User with URL end point "/users/"?

    If you are using As-User then you should have your API key to be enabled for that using Box ticket.  Please provide some more details if possible.

     

    thanks,

    Bibek

    0
    Comment actions Permalink
  • hemanshu123

    Hi Bibek,

     

    Thanks for the reply, I am using end point "/users/" for updating user details.

    I have also shared the permissions for the generated access token in the attached image file.

     

    Thanks.

    0
    Comment actions Permalink
  • Bibek

    Hi,

    This method only works for "enterprise-admins". Make sure you are logged in as enterpriese admin not even co-admin. Please try that.

     

    thanks,

    Bibek

    0
    Comment actions Permalink
  • hemanshu123

    Hi Bibek,

     

    I have registered for Developer box.com account.

    Could you please let me know, how can I check whether I am enterprise-admin or co-admin?

     

    I am having Admin access, Does it means I am enterprise-admin or coadmin?

     

    Capture.PNG

     

    Thanks.

    0
    Comment actions Permalink
  • Bibek

    Yes your account has the right authority.  Also, make sure that the app has the following feature checked. 

    box.PNG

    If this is the case, then it should work.  If you need to make changes on the app, make sure to re-authenticate to reflect the change. 

    0
    Comment actions Permalink
  • hemanshu123

    Hi,

     

    I have checked all the check box.

    Capture.PNG

    Could you please suggest any more solution ?

    0
    Comment actions Permalink

Please sign in to leave a comment.