opn_update_alias
Update an existing firewall alias by UUID, modifying its name, content, description, or type while preserving all other settings. Use when you need to rename or change alias entries.
Instructions
Update an existing firewall alias by UUID (read-modify-write).
Use this when you need to rename an alias, change its content (IPs, networks, ports), modify its description, or change its type. Only the parameters you provide are changed; all other settings are preserved.
This does NOT require savepoint protection — aliases are metadata definitions that only affect traffic when referenced by a firewall rule.
Use opn_list_firewall_aliases first to find the UUID.
Parameters:
uuid: alias UUID (from opn_list_firewall_aliases)
name: new alias name (alphanumeric and underscores only)
content: new alias entries separated by newlines
description: new description
alias_type: new type ('host', 'network', 'port', 'urltable', 'geoip')
enabled: enable/disable the alias
Returns: dict with 'result' (str) and 'uuid' (str).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| uuid | Yes | ||
| content | No | ||
| enabled | No | ||
| alias_type | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||