Beta Delete a specific monitoring alert notification channel with a type of user. You can't delete a system notification channel. You also can't delete a user channel that's actively used in an alert:
-
Run the List alerts for a notification channel operation, using the stored
channelIdfor your notification channel. -
Store the
idfor each alert that uses the notification channel. -
Run the Update an alert definition operation for each stored alert
id. Include thechannel_idsobject in the request and ensure that the notificationchannelIdis left out. This removes the notification channel from the alert definition.
Permissions and scopes
To call this operation, you need permissions, based on the model you're using:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
monitor:read_write
- Scopes:
CLI
linode-cli alerts channels-delete 754