opn_set_rule_categories
Set categories on a firewall rule by UUID; changes revert automatically in 60 seconds unless confirmed.
Instructions
Assign categories to a firewall rule by UUID with savepoint protection.
Use this when you need to categorize or re-categorize a firewall rule. Changes auto-revert in 60 seconds unless confirmed with opn_confirm_changes.
Parameters:
uuid: the firewall rule UUID (from opn_list_firewall_rules)
categories: comma-separated category UUIDs (from opn_list_firewall_categories), or empty string to clear all categories
Returns: dict with 'revision' (str) for confirming and 'uuid' (str).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | ||
| categories | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||