# TagUpdateDto

Source: https://frameleaf.app/docs/api/schema/TagUpdateDto/

```json
{
  "properties": {
    "color": {
      "description": "Tag color (hex)",
      "nullable": true,
      "pattern": "^#?([0-9A-Fa-f]{3}|[0-9A-Fa-f]{4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$",
      "type": "string"
    },
    "name": {
      "description": "Tag name",
      "pattern": "^[^/]*$",
      "type": "string"
    },
    "parentId": {
      "description": "Move the tag under this parent tag; null moves it to the top level. The tag and all its descendants take the new path",
      "format": "uuid",
      "nullable": true,
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
      "type": "string"
    }
  },
  "type": "object"
}
```
