Update Alert Channel
update_alert_channelChange a notification channel: rename it, re-point it, or enable/disable it.
Only what you pass changes; a channel's secrets are left alone if you do not resubmit them. A channel's type cannot be changed — create a new one instead.
A channel that has failed to deliver several times in a row is disabled automatically; pass enabled true to bring it back once you have fixed it.
Needs the channels:manage capability.
channel_id: the channel's id, from list_alert_channels.
name: a new label.
url: for a webhook — a new https URL to POST to.
recipients: for email — the full replacement list of addresses.
enabled: turn delivery on or off.
workspace: optional workspace id, name, or org-name/workspace-name when the
same name occurs in two of your orgs (defaults to your default).
Example:
Disable the ops webhook for now.
{ "name": "update_alert_channel", "arguments": { "channel_id": "8a1…", "enabled": false } }Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | No | ||
| enabled | No | ||
| workspace | No | ||
| channel_id | Yes | ||
| recipients | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |