---
title: Delete a service tag
description: "Deletes the tag; its assignments cascade so it disappears from every service without touching the services themselves."
api_method: DELETE
api_path: "/v1/service-tags/{tagId}"
canonical_url: https://wiblo.app/docs/developers/api/service-tags/delete-service-tag
last_updated: 2026-07-28T17:56:11+02:00
md_url: https://wiblo.app/docs/developers/api/service-tags/delete-service-tag.md
---

# Delete a service tag

`DELETE /v1/service-tags/{tagId}`

Deletes the tag; its assignments cascade so it disappears from every service without touching the services themselves. Owner/admin only. Per-user rate-limited at 60/60s.

## Path parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `tagId` | `string` | Yes |  |

## Headers

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `X-Wiblo-Workspace` | `string` | Yes | Workspace id the call is scoped to. The actor must hold an active membership in it; a foreign or unknown id collapses onto 404 WORKSPACE_NOT_FOUND. |

## Request

**curl**

```bash
curl https://api.wiblo.app/v1/service-tags/d4c8b1a2-3e5f-4a6b-8c9d-0e1f2a3b4c5d \
  -X DELETE \
  -H "Authorization: Bearer $WIBLO_TOKEN" \
  -H "X-Wiblo-Workspace: $WIBLO_WORKSPACE_ID"
```

**TypeScript**

```ts
import { createSdk, deleteServiceTag } from "@workspace/sdk"

const sdk = createSdk({ baseUrl: "https://api.wiblo.app" })

const { data, error } = await deleteServiceTag({
  client: sdk,
  path: { tagId: "d4c8b1a2-3e5f-4a6b-8c9d-0e1f2a3b4c5d" },
  headers: { "X-Wiblo-Workspace": "..." },
})
```

## Responses

**`204`** — Tag deleted.

**`401`** — No valid session cookie or `wbl_*` bearer was present. Returns `ApiErrorEnvelope`.

**`403`** — The actor is a plain member; owner or admin is required (`ADMIN_REQUIRED`). Returns `ApiErrorEnvelope`.

**`404`** — No tag visible to the actor with this id in this workspace (`TAG_NOT_FOUND`). Returns `ApiErrorEnvelope`.

**`422`** — Path param failed UUID validation (`INVALID_PARAMS`). Returns `ApiErrorEnvelope`.

**`429`** — Rate limit exceeded. The body's `error.code` is `RATE_LIMITED` and `error.details.retry_after` is the same number of seconds as the `Retry-After` header. Returns `ApiErrorEnvelope`.
