update_destination
Update a notification destination's name or config without changing its kind. Specify only the fields to modify; email changes require re-verification.
Instructions
Requires an API key with the write scope or higher. Update a notification destination's name and/or config in place. Only the fields you pass are changed. The destination kind cannot be changed — delete and recreate instead. Changing an email destination's address resets verification and sends a new confirmation email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New human-readable label. Omit to leave unchanged. | |
| config | No | Replacement config for the destination's existing kind — one of webhook, telegram, discord, slack, ntfy, pushover, msteams, googlechat, email. Shape must match the kind: {"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. Omit to leave unchanged. A URL you supply is re-checked against the kind's allowed hosts and must be https; a destination created before that rule keeps working until you send a new config for it. The config must name only the fields listed for its kind, each exactly once. The host rule narrows a branded destination to the vendor's own platform; it does NOT prove the endpoint belongs to the person or project that owns the destination. | |
| destination_id | Yes | UUID of the destination to update. Get it from list_destinations. |