コンテンツにスキップ

Update notification channel

PUT
/api/v1/notification-channels/{id}

Updates an existing notification channel. Requires write scope. At least one of name or config must be provided. Channel type cannot be changed. For email channels, changing the to address resets verification and sends a new verification email.

id
required
string
object
name
string
>= 1 characters <= 100 characters
config

Partial or full replacement of the channel config. Validated against the existing channel type.

object

Updated channel

object
channel

Notification channel (config field excluded — contains secrets)

object
id

ULID

string
teamId
string
type
string
Allowed values: email slack discord line webhook pagerduty datadog github grafana jira
name
string
<= 100 characters
isActive
integer
Allowed values: 0 1
verified

Email channels start unverified (0) until the user clicks the verification link. All other types are always 1.

integer
Allowed values: 0 1
createdAt
string format: date-time

Invalid config or missing fields

Unauthorized

Write scope required

Channel not found