# Delete Manual Tag

Deletes a manual tag permanently and removes it from every contact carrying it. System tags and tags referenced by campaigns, automations or other entities are refused with dependencies. Requires the user to request deletion of this tag.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "tagId": {
      "type": "integer",
      "description": "ID of the manual tag to delete",
      "minimum": 1
    },
    "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",
    "tagId",
    "name",
    "deleted",
    "removedFromContacts"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "tagId": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "deleted": {
      "type": "boolean"
    },
    "removedFromContacts": {
      "type": "integer"
    }
  }
}
```

