Notifications

Update notification method

Update an existing notification method owned by the current account.

Errors

  • 401 Authentication required.
  • 404 Notification method not found.
  • 422 Request validation error.
patch/notification_methods/{method_id}

Path parameters

method_idinteger required

ID of the notification method.

ID of the notification method.

Request body

type'email' | 'slack' | 'telegram' | 'webhook' | 'discord' required
valuestring required

Primary value (e.g., webhook URL, bot token, or email address).

second_valuestring nullable

Secondary value when required by the method (e.g., Telegram chat_id).

extra_emailsstring[] nullable

Up to 4 additional email recipients (delivered as BCC). Only allowed when type=email. Total recipients (value + extra_emails) must be ≤ 5.

Example request

{
  "type": "email",
  "value": "alerts@example.com"
}

Response

Method updated successfully.

idinteger required

Notification method ID.

type'email' | 'slack' | 'telegram' | 'webhook' | 'discord' required
valuestring required

Primary destination (email address, webhook URL, channel ID, etc.).

second_valuestring nullable

Secondary value (e.g. Telegram chat ID).

extra_emailsstring[] nullable

Additional email recipients delivered as BCC (email methods only, max 4).

timestampstring date-time required

Creation date of this notification method.

Changes

No recorded changes to this endpoint across all 1 revision of this API.