Update
AI-generatedSummary
Update an existing tag in DocRouter.ai by specifying its ID and providing a new name, with optional color and description fields.
Inputs
- Tag ID (required) — The ID of the tag to update.
- Name (required) — The new name for the tag.
- Color — Optional new color for the tag, e.g. hex code or CSS color name.
- Description — Optional new description for the tag.
Output shape
a single JSON object representing the updated tag
Returns the updated tag data as JSON; errors will be thrown if the update fails.
Examples
Example 1: Update tag '12345' with new name 'Urgent', color '#ff0000', and description 'Tasks that need immediate attention'
Provide '12345' in Tag ID, 'Urgent' in Name, '#ff0000' in Color, and the description text in Description.