---
title: "Tag von Monitor entfernen"
description: "Entfernt eine Tag-Zuweisung von einem Monitor. Der Aufrufer muss Lesezugriff auf den Monitor haben."
---

`DELETE /api/monitor-tags`

## Body

```json
{
  "monitorType": "website",
  "monitorId": 101,
  "tagId": 1
}
```

- `monitorType` (erforderlich): Typ des Monitors. Eines von: `website` | `dns` | `icmp` | `smtp` | `ssh` | `tcp` | `ftp` | `imap_pop` | `customer_domain` | `customer_ip`. Nutze `customer_domain` für Domain-Monitore (SSL/Ablauf) und `customer_ip` für DNSBL-/Blacklist-Monitore.
- `monitorId` (erforderlich): Numerische ID des Monitors.
- `tagId` (erforderlich): Numerische ID des zu entfernenden Tags.

## Beispiel (cURL)

```bash
BASE_URL="https://uptimeify.io"
TOKEN="<dein-api-token>"

curl -X DELETE "$BASE_URL/api/monitor-tags" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"monitorType":"website","monitorId":101,"tagId":1}'
```

## Antwort (Response)

Gibt `204 No Content` bei Erfolg zurück.

## Häufige Fehler

- `400 Bad Request` wenn `monitorType` kein unterstützter Typ ist
- `401 Unauthorized` wenn du nicht angemeldet bist
- `403 Forbidden` wenn du keinen Lesezugriff auf den Monitor hast
- `404 Not Found` wenn die Zuweisung nicht existiert
