Update node access rule
update_node_access_ruleChange an access rule's value, or activate or deactivate it.
A rule's type can't change; delete it and create a new one. Before activating, confirm with the user that the IP rules cover every IP that calls the node. Activating the first origin rule blocks every request without an Origin header (servers, scripts, curl), even from allowed IPs. Changing or deactivating a rule can block clients that only it allowed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | New value, in the format the rule's type needs (see create_node_access_rule). | |
| status | No | activated or deactivated. | |
| node_id | Yes | Node ID (e.g., ND-123-456-789). | |
| rule_id | Yes | Rule ID from list_node_access_rules (e.g., NAR-123-456-789). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | ||
| created | No | ||
| message | Yes | ||
| warnings | No |