remove an item from favorites (collection) via API?

新規投稿

コメント

2件のコメント

  • 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
    コメントアクション パーマリンク
  • 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
    コメントアクション パーマリンク

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