Box API add folder permissions
回答済みWhen I authenticate to box API, and list folders I only see those folders the API is a co-owner of -
curl https://api.box.com/2.0/folders/0/items Authorization: Bearer [AuthToken]
I do not see how to add the API user account to new folders. When I click on "Sharing" I only see enterprise users, and not applications. I believe in the past this was possible to do via the web interface...
How can I add my API user to existing folders?
-
Hi , If I understand you correctly you are unable to add your JWT automation user to the folders via the web interface and hence API response does not include those folders in the response.
Solution:
In such a scenario you can get the email address of the JWT automation user via https://developer.box.com/reference/get-users-me/ and add the email address with required permission as a collaborator in the web interface.
Do let me know if this solves your problem
- Nayak
サインインしてコメントを残してください。
コメント
1件のコメント