---
title: "Delete tags"
method: DELETE
path: "/tags"
tags: ["Tags"]
---

# Delete tags

`DELETE /tags`

## Request

- Base URL: `https://viral.app/api/v1`
- URL: `https://viral.app/api/v1/tags`
- Auth: API key in header `x-api-key`

Deletes multiple organization tags. Tags still assigned by workflows, or named in a campaign's payout conditions (ended campaigns included), are skipped and reported in `blocked` with the reason.

## Request body

- object: Delete multiple organization tags
  - `ids` string[], required

## Response `200`

OK

- object
  - `deleted` integer, required
  - `blocked` object[], required
    - `id` string, required: Organization tag ID with orgtag_ prefix
    - `name` string, required
    - `reason` 'workflow' | 'campaign_conditions', required: `workflow`: an active workflow still assigns the tag. `campaign_conditions`: a campaign's payout conditions (ended campaigns included) name the tag; remove it there first.
    - `campaignNames` string[]: With `campaign_conditions`: the campaigns whose payout conditions name the tag.

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `404`: 404
- `408`: 408
- `429`: 429
- `500`: 500

---

[API](https://skmtc.dev/viral/apis/viral-app-api.md) · [All operations](https://skmtc.dev/viral/apis/viral-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/viral/apis/viral-app-api/revisions/31e97fa79ef1?raw)
