Tags
Remove Tag from Monitor
Removes a tag assignment from a monitor. The caller must have read access to the monitor.
DELETE /api/monitor-tags
Body
{
"monitorType": "website",
"monitorId": 101,
"tagId": 1
}monitorType(required): Type of the monitor. One of:website|dns|icmp|smtp|ssh|ftp|imap_pop.monitorId(required): Numeric ID of the monitor.tagId(required): Numeric ID of the tag to remove.
Example (cURL)
BASE_URL="https://uptimeify.io"
TOKEN="<your-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}'Response
Returns 204 No Content on success.
Common errors
400 Bad RequestwhenmonitorTypeis not a supported type401 Unauthorizedwhen you are not logged in403 Forbiddenwhen you do not have read access to the monitor404 Not Foundwhen the assignment does not exist