Where did my folder go ??

新規投稿

コメント

3件のコメント

  • Murtza

     The folder was created in your application's service account root folder. If you are testing with a Box developer account, you can see the folder in the Admin Console within the Content Manager page

     

    To create the folder in your Box account's root folder, you have to specify your account with your user id and the As-User header. Here's how to do that the Python SDK:

     

    user = client.user(user_id='USER_ID')
    
    client.as_user(user).folder(folder_id='0').create_subfolder('FOLDER_NAME')
    
    

     

    0
    コメントアクション パーマリンク
  • Shannon99

    Struggling with the same problem here. I can't go to the 'https://app.box.com/master/content' address to see anything even though I'm an admin (trial account if it helps).

     

    "To create the folder in your Box account's root folder, you have to specify your account with your user id"

    Who's user id? The enterprise user? Where do I get the id?

    0
    コメントアクション パーマリンク
  • Murtza

     You can get a list of user ids from the Get Enterprise Users endpoint. Once you find the user id needed, you would set that as the value of the As-User header.

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。