Skip to main content
PATCH
Requires scope: sdk:actions Only the fields you pass are changed. Turning digest batching off needs its own flag (clear_digest_schedule) since omitting digest_schedule means “leave it as-is,” not “remove it” — passing both raises ValueError.

Parameters

str
required
The destination’s id.
str | None
New URL (webhook destinations only).
str | None
New recipient (email destinations only).
str | None
New subject (email destinations only).
str | None
New description.
list[ActionTrigger | str] | None
Replaces the full subscription list.
str | None
“active” or “disabled”. Re-enabling clears the failure streak.
dict[str, str] | None
Replaces the stored static headers.
DigestSchedule | None
New digest schedule.
bool
default:"False"
Pass True to turn digest batching off. Mutually exclusive with digest_schedule.

Returns

ActionDestination
str
Destination id.
list[str]
Updated trigger subscriptions.
str
Updated status.

Raises