UpdateNotificationChannelRequest
Same shape as CreateNotificationChannelRequest, a full replace, except secret is tri-state: omitted keeps the existing credential, null clears it, a string replaces it.
namestringrequired
Possible values: non-empty and <= 128 characters
typeNotificationChannelTyperequired
Possible values: [email, gotify, ntfy, discord, webhook]
enabledbooleanrequired
secretstring | nullnullable
emailHoststring
emailPortinteger<int32>
Possible values: >= 1 and <= 65535
emailUsernamestring
emailFromstring
emailTostring[]
emailStartTlsboolean
gotifyUrlstring
ntfyUrlstring
ntfyTopicstring
webhookUrlstring
webhookMethodNotificationWebhookMethod
Possible values: [POST, PUT]
webhookHeaders object
property name*string
webhookAuthHeaderNamestring
UpdateNotificationChannelRequest
{
"name": "string",
"type": "email",
"enabled": true,
"secret": "string",
"emailHost": "string",
"emailPort": 0,
"emailUsername": "string",
"emailFrom": "string",
"emailTo": [
"string"
],
"emailStartTls": true,
"gotifyUrl": "string",
"ntfyUrl": "string",
"ntfyTopic": "string",
"webhookUrl": "string",
"webhookMethod": "POST",
"webhookHeaders": {},
"webhookAuthHeaderName": "string"
}