Welcome to the new Box Support website. Check out all the details here on what’s changed.

remove an item from favorites (collection) via API?

New post

Comments

2 comments

  • kendomen

    This was weird but I passed in [] for the collections parameter and it seems to remove it

     

    curl https://api.box.com/2.0/folders/FOLDER_ID \
    -H "Authorization: Bearer ACCESS_TOKEN" \
    -d '{"collections": []}' \
    -X PUT

     

     

    0
    Comment actions Permalink
  • aweber

    I agree, I eventually tried this same syntax and it appears to work.  Since it's not really documented, I was kinda hoping for someone from box support/dev to weigh-in as to whether it's correct.

     

    But again, in the meantime, I believe this works. (In case anyone is searching for the same info.)

     

    Thanks for the reply!

    -AJ

    0
    Comment actions Permalink

Please sign in to leave a comment.