# Update Manual Tag

Updates a manual tag’s name or description; system-generated tags are refused. Renaming appears wherever the tag is displayed but keeps its ID, contacts and campaign references. Other tag settings stay unchanged.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "tagId": {
      "type": "integer",
      "description": "ID of the manual tag to change",
      "minimum": 1
    },
    "name": {
      "type": [
        "null",
        "string"
      ],
      "description": "New name of the tag, which has to stay unique within the account; omit to keep the current one",
      "default": null,
      "maxLength": 250
    },
    "description": {
      "type": [
        "null",
        "string"
      ],
      "description": "New description of what the tag stands for; omit to keep the current one",
      "default": null,
      "maxLength": 2000
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account the access token works in",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "tagId"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "id",
    "name",
    "description",
    "type",
    "isWritable",
    "multiValue",
    "editUrl",
    "usedBy"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "isWritable": {
      "type": "boolean"
    },
    "multiValue": {
      "type": "boolean"
    },
    "editUrl": {
      "type": "string"
    },
    "usedBy": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
```

