Update alert destination
update_destinationRequires the write scope or higher. Updates a notification destination's name and/or config in place; only the supplied fields change. The kind cannot change (delete and recreate instead). A new email address resets verification and sends a new confirmation email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New human-readable label. Omitted: unchanged. | |
| config | No | Replacement config for the destination's existing kind (webhook, telegram, discord, slack, ntfy, pushover, msteams, googlechat, email), naming only that kind's fields, each once: {url,secret} webhook, {bot_token,chat_id} telegram, {webhook_url} slack/discord/msteams/googlechat, {topic_url,token} ntfy, {token,user_key} pushover, {address} email. Omitted: unchanged. A secret left out is kept only while the webhook url / ntfy topic_url is unchanged (else 400: resend it); "" clears the ntfy token; other fields left out are removed. A supplied URL has to be https on the kind's allowed hosts (older destinations keep working until replaced). The host rule does not prove who owns the endpoint. | |
| destination_id | Yes | UUID of the destination to update, from list_destinations. |