I want to use the box API to set the tag blank
回答済みI want to use the box API to set the tag blank, but I set the "tags": null or "tags": "" it doesnt work.
curl -i -X PUT "https://upload.box.com/api/2.0/files/12345" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"tags": null
}'
-
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
サインインしてコメントを残してください。
コメント
3件のコメント