# BulkRemoveTagFromWorkspaceDiscounts

> Remove a tag from every discount code in the workspace. Irreversible. Write access, discounts toolset, MCP tool bulk_remove_tag_from_workspace_discounts.

> **Warning:**
> Irreversible. This operation removes or replaces something. MCP clients see it with `destructiveHint` set, and an agent should tell you what it will change and wait for your yes.

**Access:** [Write](https://developer.missin.co.uk/get-started/authentication.md#access-levels)

## Variables

| Variable | Type | Required | Accepts | Description |
|---|---|---|---|---|
| `input` | `BulkRemoveTagFromWorkspaceDiscountsInput!` | yes | Input object, below |  |

## Input types

### BulkRemoveTagFromWorkspaceDiscountsInput

| Field | Type | Required | Accepts | Description |
|---|---|---|---|---|
| `tag` | `String!` | yes |  |  |

## Call it

```bash curl
curl https://api.missin.co.uk/graphql/v1 \
  -H "Authorization: Bearer $MISSIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operationName":"BulkRemoveTagFromWorkspaceDiscounts","variables":{"input":{"tag":"…"}},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"ae25d6f22a8ba80407d858cf706d6042648e110eef3ca7a08a2f3ec52b00d94f"}}}'
```

## Document

```graphql
mutation BulkRemoveTagFromWorkspaceDiscounts($input: BulkRemoveTagFromWorkspaceDiscountsInput!) { __typename bulkRemoveTagFromWorkspaceDiscounts(input: $input) { __typename affectedCount tag } }
```

Source: https://developer.missin.co.uk/reference/discounts/bulk-remove-tag-from-workspace-discounts
