Alert Template Edit
alert_template_editUpdate an existing LibreNMS alert template by supplying its ID and all fields, since the whole template is replaced. Include body, title, recovery title, and alert rule IDs.
Instructions
Edit an existing alert template in LibreNMS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Alert template edit payload (must include template_id): - template_id (required): Template ID to edit. Without it LibreNMS creates a new template instead of editing the existing one. - name (required): Template name - template (required): Template body (Laravel Blade syntax) - title (required): Alert title template - title_rec (required): Recovery title template - alert_rules (required): Array of alert rule IDs to associate with this template (use [] for none) LibreNMS replaces the whole template on edit, so resend every field, not just the ones being changed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||