新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

I want to use the box API to set the tag blank

回答済み
新規投稿

コメント

3件のコメント

  • Kourtney

    Hello Dan, 

    Can you please provide some more information about the use case and what you're trying to accomplish here? By default, there won't be any tags, so setting tags to null shouldn't be necessary. Are you trying to remove tags from a file? If so, you can't do that using the file upload endpoint. You'll need to call the update file endpoint instead. 

    Best,

    Kourtney, Box Developer Advocate

    0
    コメントアクション Permalink
  • Dan Ma

    Hello Kourtney,

    Thank you for your reply. yes, I want to remove the tag.I used update file endpoint, The parameters are set as follows,but still can't remove tag to null

    -d '{

    "tags": null

    }'

    -d '{

    "tags": ""

    }'

    0
    コメントアクション Permalink
  • Kourtney

    If you want to remove all tags the body of your update file call needs to be: 

    {"tags": []}
    0
    コメントアクション Permalink

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