Uptime API › Notification channels
Unlink a channel from a monitor
DELETE/api/v1/monitors/{id}/channels/{chId}
Stops sending the monitor's alerts to the channel. The channel itself is kept.
Requires the uptime:channel:write scope.
Authorization
Parameters
Path parameters
idstring requiredThe monitor's ID.chIdstring requiredThe notification channel's ID.
Responses
204
The channel is unlinked.
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
The monitor does not exist or is not visible to the caller (MONITOR_NOT_FOUND), or the channel is not linked to it (CHANNEL_NOT_FOUND).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X DELETE 'https://evohub.io/api/v1/monitors/mon_8c1d0b52-6f3e-4a7d-9b21-0e5c4f7a3d19/channels/nch_6a9d2f4b-8c1e-4b3a-9f7d-5e0c2a8b4d16' \
-H 'Authorization: Bearer <TOKEN>'