Detach an alert channel from a monitor
Removes one alert channel from this monitor's routing set and voids that pair's pending alert jobs, returning the updated monitor. The dispatcher's claim joins alert_jobs to alert_channels and never re-checks monitor_alerts, so an un-voided pending job would still be delivered through a channel the customer just switched off for this monitor. Detaching a channel that is not attached is a no-op success; the 404 is reserved for a missing or foreign monitor.
delete/monitors/{id}/channels/{cid}
Request
- Base URL: https://app.yoping.me/api/v1
- URL: https://app.yoping.me/api/v1/monitors/{id}/channels/{cid}
- Auth: API key in cookie yp_session
Path parameters
idstring required
Resource id. Ids belonging to another account behave as missing (404).
cidstring required
Alert channel id. Ids belonging to another account behave as missing (404).
Response
Channel detached; the monitor's current state.
Changes
No recorded changes to this operation across all 1 revision of this API.