update_tag
Update fields on a single tag: name, color, matching pattern/algorithm, case sensitivity, or parent. Only supplied fields are changed; other tag settings remain as before.
Instructions
Update fields on ONE tag (PATCH — only fields you supply are changed). Editable fields: name, color, match (matching pattern), matching_algorithm, is_insensitive, parent (parent tag ID for hierarchy). To add or remove this tag on documents, use edit_documents_bulk with method 'add_tag' / 'remove_tag' / 'modify_tags' instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| color | No | ||
| match | No | ||
| parent | No | Parent tag ID for hierarchical tags | |
| is_insensitive | No | Whether matching is case-insensitive | |
| matching_algorithm | No | Matching algorithm: 0=None, 1=Any word, 2=All words, 3=Exact match, 4=Regular expression, 5=Fuzzy word, 6=Automatic |