Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

API Docmumentation erroneous / Example lacking or wrong

New post

Comments

1 comment

  • bx_dev2
    curl --location --request POST 'https://api.box.com/2.0/collaborations/' \

    --header 'Authorization: Bearer token’ \

    --header 'Content-Type: text/plain' \

    --header 'Cookie: site_preference=desktop' \

    --data-raw '{"item": { "id": “folder”, "type": "folder"}, "accessible_by": { "login": “email@gmail.com"}, "role": "editor"}'

    Might be something off in the formatting of the command given the error. The above worked for me in curl 

    I was also able to add collaboration in Postman.

    0
    Comment actions Permalink

Please sign in to leave a comment.