All docs

patch /v1/notifications/channels/{id}

Update channel (url/events/status/config/secrets; channel_type and id are immutable)

Secrets merge by key. An empty-string value keeps the stored value, a non-empty value replaces it, and an omitted key is removed. Changing url reroutes unfinished deliveries to the new address; delivered rows keep the historical address.

Parameters

NameInTypeDescription
id * path string channel id

Request body

FieldTypeDescription
name string (len≥1 len≤80 /^[^\r\n]*$/) | null
url string uri (/^https?:///)
events enum("crawl.started", "crawl.completed", "crawl.failed", "monitor.page", "monitor.check.completed")[]
status enum("active", "disabled")
config object
secrets object
Full request schema
{
  "$ref": "#/components/schemas/ChannelPatch"
}

Responses

StatusDescriptionBody
200OKapplication/json — object