Update alert destination
update_destinationUpdate a LastPing notification destination's name or config in place, changing only supplied fields. A new email address resets verification.
Instructions
Requires 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":…} for webhook, {"bot_token":…,"chat_id":…} for telegram, {"webhook_url":…} for slack/discord/msteams/googlechat, {"topic_url":…} for ntfy, {"token":…,"user_key":…} for pushover, {"address":…} for email. Omitted: unchanged. A supplied URL is re-checked against the kind's allowed hosts and has to be https; a destination created before that rule keeps working until its config is replaced. The host rule does not prove who owns the endpoint. | |
| destination_id | Yes | UUID of the destination to update, from list_destinations. |