Delete an alert channel
Confirms deletion with an empty response body.
DELETE https://app.upfour.io/v1/notification_channels/{channelID}
Parameters
| Field | Type | Description |
|---|---|---|
channelID required | uuid | path parameter |
Returns
A successful request returns 204 with no response body.
Errors
Only the errors this operation can return. Every error uses the same envelope.
| Status | Code | Meaning |
|---|---|---|
| 400 | bad_request | The request is malformed or fails validation. |
| 409 | channel_in_use | The alert channel is still used by monitors or alert plans, so it was not deleted. When: Deleting an alert channel that a monitor notifies or an alert plan step targets. details carries the counts monitors and alert_plans. Fix: Remove the channel from those monitors and alert plan steps first, then delete it. |
| 404 | not_found | The requested resource does not exist or is outside the caller's scope. |
| 403 | permission_denied | The credentials do not permit this action. |
Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.