Update a notification channel
Changes a channel's name, settings, enabled flag or default flag. The kind cannot change. Secret fields left out of config keep their stored value.
Needs notifications.manage, which owners and admins hold. Available to MCP clients and the assistant.
seylo_session<token>application/json- body
channelId*stringPanel-issued id.
^[a-z0-9]{16}$name?string1 <= length <= 60config?|||||||enabled?booleanisDefault?booleanSuccess.
application/json- response
id*stringPanel-issued id.
^[a-z0-9]{16}$name*stringkind*string|string|string|string|string|string|string|stringenabled*booleanisDefault*booleanconfig*|||||||secretsSet*array<string>target*stringusedBy*lastDelivery*|nullcreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X POST 'https://example.com/api/v1/notifications.updateChannel' \ -H 'Content-Type: application/json' \ -d '{ "channelId": "string"}'{ "id": "string", "name": "string", "kind": "smtp", "enabled": true, "isDefault": true, "config": { "kind": "smtp", "host": "string", "port": 0, "security": "starttls", "username": "string", "from": "string", "to": [ "string" ] }, "secretsSet": [ "string" ], "target": "string", "usedBy": { "services": 0, "defaults": true }, "lastDelivery": { "status": "sent", "at": "2019-08-24T14:15:22Z", "error": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Send a test notification POST
Sends a test message. Pass channelId to test a saved channel, config to test unsaved settings, or both to test edits (secrets left out come from the saved channel). Needs `notifications.manage`, which owners and admins hold. Available to MCP clients and the assistant.
Update the default alert rules POST
Replaces the panel-wide alert rules. Each event appears at most once; events left out are turned off. Needs `notifications.manage`, which owners and admins hold. Available to MCP clients and the assistant.