opn_update_alias
Update an existing firewall alias by UUID to modify its name, content, description, type, or enabled status.
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 |
|---|---|---|---|
| uuid | Yes | ||
| name | No | ||
| content | No | ||
| description | No | ||
| alias_type | No | ||
| enabled | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||