Activate or deactivate all node access rules
set_node_access_rules_statusActivate or deactivate every access rule on a node at once.
Activating enforces every rule within about 10 seconds: active IP rules limit which IPs can call the node, active origin rules limit which Origin headers it accepts, and a request must pass both kinds. Others get HTTP 403. First confirm with the user that the IP rules cover every IP that calls the node (servers, CI, their own machine); you can't check this. Origin rules block every request without an Origin header (servers, scripts, curl), even from an allowed IP. Deactivating opens the node to any IP and origin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | activated or deactivated. | |
| node_id | Yes | Node ID (e.g., ND-123-456-789). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | ||
| message | Yes |