---
updatedAt: 2026-06-22T06:24:00.000Z
agentTools:
  projectIndex: https://developers.rebrandly.com/llms.txt
---

# Delete Tag

Delete a tag and remove it from all associated links.


# OpenAPI definition

````json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Rebrandly API",
    "description": "# Rebrandly API Documentation\n\nThe Rebrandly API allows you to programmatically create, update, and manage your branded short links,\ncustom domains, workspaces, and analytics.\n\n## Base URL\n\nAll API requests should be made to:\n```\nhttps://api.rebrandly.com/v1\n```\n\n## Authentication\n\nThe Rebrandly API uses API keys for authentication. You can obtain your API key from your\n[Rebrandly account settings](https://app.rebrandly.com/account/api-keys).\n\nInclude your API key in the request header:\n```\napikey: YOUR_API_KEY\n```\n\n## Rate Limiting\n\nAPI requests are rate-limited based on your subscription plan. Rate limit information is included\nin response headers:\n- `X-RateLimit-Limit`: Total requests allowed per period\n- `X-RateLimit-Remaining`: Requests remaining in current period\n- `X-RateLimit-Reset`: Time when the rate limit resets (Unix timestamp)\n\n## Multi-Tenancy and Workspaces\n\nMost Rebrandly API resources (links, domains, scripts, tags) are organized into **Workspaces**.\nTo access resources in a specific workspace, you must include the `Workspace` header with the workspace's unique ID.\n\n```\nWorkspace: YOUR_WORKSPACE_ID\n```\n\nIf the `Workspace` header is omitted, the request will be processed in your **Default Workspace**.\n",
    "version": "7.0.2",
    "contact": {
      "name": "Rebrandly Team",
      "email": "dev@rebrandly.com"
    },
    "license": {
      "name": "Proprietary"
    }
  },
  "servers": [
    {
      "url": "https://api.rebrandly.com/v1",
      "description": "Production API"
    }
  ],
  "paths": {
    "/tags/{tag_id}": {
      "delete": {
        "summary": "Delete Tag",
        "description": "Delete a tag and remove it from all associated links.\n",
        "operationId": "deleteTag",
        "parameters": [
          {
            "$ref": "#/components/parameters/WorkspaceHeader"
          },
          {
            "$ref": "#/components/parameters/ApiKeyHeader"
          },
          {
            "name": "tag_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Tag public ID"
          }
        ],
        "responses": {
          "200": {
            "description": "Tag deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tag"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "tags": [
          "Tags"
        ]
      }
    }
  },
  "tags": [
    {
      "name": "Tags",
      "description": "Tag management for organizing links.\n\n**Feature Required:** `links.tags`\n"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "apikey",
        "description": "Rebrandly API key for authentication"
      }
    },
    "parameters": {
      "WorkspaceHeader": {
        "name": "Workspace",
        "in": "header",
        "required": false,
        "description": "Workspace public ID",
        "schema": {
          "type": "string",
          "example": "workspace123abc"
        }
      },
      "ApiKeyHeader": {
        "name": "apikey",
        "in": "header",
        "required": true,
        "description": "API key for authentication",
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "Forbidden": {
        "description": "Forbidden - Insufficient permissions",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "required": [
          "code",
          "message",
          "httpCode"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code identifier",
            "example": "NotFound"
          },
          "message": {
            "type": "string",
            "description": "Human-readable error message",
            "example": "Not found"
          },
          "httpCode": {
            "type": "integer",
            "description": "HTTP status code",
            "example": 404
          },
          "source": {
            "type": "string",
            "description": "Resource type that caused the error",
            "example": "workspace"
          },
          "id": {
            "type": "string",
            "description": "Resource ID related to the error",
            "example": "abc123def456"
          }
        }
      },
      "Tag": {
        "type": "object",
        "required": [
          "id",
          "name",
          "color"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Tag public ID"
          },
          "name": {
            "type": "string"
          },
          "color": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      }
    }
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "x-readme": {}
}
````