delete_tag
Permanently delete a tag definition and remove it from all associated calls and form submissions. This irreversible action cannot be undone.
Instructions
Delete a tag definition from the account. Removes it from any calls or form submissions that had it applied.
This is a HARD delete — the tag is gone permanently along with its
historical applications. To preserve history, prefer renaming or
disabling via update_tag instead.
Args: tag_id: Numeric tag ID. CallRail tag IDs are integers (NOT the string-prefixed format other entities use). Must match ^[0-9]+$ — accepts string or numeric forms. account_id: CallRail account ID. Auto-resolves if omitted.
Returns:
JSON string {"deleted": True, "tag_id": ...} on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag_id | Yes | ||
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |