Creating collaboration for user's email alias (or new user for that matter)

新規投稿

コメント

1件のコメント

  • Bibek

    Hi there,

    I believe you could use "login" instead of "id" if the user doesn't exist in box as it says in doc:

     

    Child of accessible_by. An email address (does not need to be a Box user). Omit if this is a group, or if you include the userID above

    e.g request:

    curl https://api.box.com/2.0/collaborations \
    -H "Authorization: Bearer ACCESS_TOKEN" \
    -d '{"item": { "id": "FOLDER_ID", "type": "folder"}, "accessible_by": { "login": "***@example.com", "type": "user" }, "role": "editor"}' \
    -X POST

    When you do that it sends collaboration invite instead.

    Let me know if that helps.

     

    Thanks,

    Bibek

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

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