I want to use the box API to add and delete tags
AnsweredI want to use the box API to add and delete tags,but the[https://developer.box.com/reference/put-files-id/#param-tags]only support update fucntion.If I dont want to update the current tags,just want to add or remove a tag.Does any api support it?
-
Hey Dan,
Yes, it is possible to add and delete tags via the API. You are correct that you need to use the update file endpoint. There is a note on this if you look at the tags body parameter:
To add or remove a tag, retrieve the item's current tags, modify them, and then update this field.
Best,
Kourtney
-
Ah I see what you're saying -- thank you for the clarification. No, unfortunately, there is not currently a separate endpoint for this. If this is a feature you'd like to see added to our roadmap, please submit your feedback to our product team at https://pulse.box.com.
Please sign in to leave a comment.
Comments
3 comments