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

New post


1 comment

  • 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 \
    -H "Authorization: Bearer ACCESS_TOKEN" \
    -d '{"item": { "id": "FOLDER_ID", "type": "folder"}, "accessible_by": { "login": "***", "type": "user" }, "role": "editor"}' \
    -X POST

    When you do that it sends collaboration invite instead.

    Let me know if that helps.




    Comment actions Permalink

Please sign in to leave a comment.