Bulk assign or remove tags

POST/api/items/tags

Attaches, removes, or overwrites the tag set on a batch of Leaves and/or standalone reports. Provide exactly one of add, remove, or set (set cannot be combined with the other two — it replaces the full tag list). Idempotent: re-adding an already-attached tag or removing an absent one is a no-op. Up to 200 items per request. All-or-nothing: any invalid item or tag id fails the whole batch with no partial writes. Requires reports:write.

Body Parameters

itemsarray of objectsrequired
Show child attributes
namestring
Leaf (group) name.
codestring
Standalone report code.
addstring[]
Tag ids to attach.
removestring[]
Tag ids to detach.
setstring[]
Tag ids that become each item's exact final tag set.