update_thread_labels
Add and remove category labels on a thread in one call using label type IDs. Removal automatically resolves each type to the applied label, ignoring IDs not on the thread.
Instructions
Add and/or remove category labels on a thread in one call. Both 'add' and 'remove' take label TYPE IDs (from get_label_types); removal resolves each type to the applied label automatically. Type IDs not currently on the thread are ignored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Label type IDs to add (get IDs from get_label_types) | |
| remove | No | Label type IDs to remove | |
| threadId | Yes | The ID of the thread to update |