View Categories
Servers
42 Docs
Last Updated: August 20, 2026

Create Firewall Rule

Creates a new firewall rule on the server. Synchronous — runs InstallFirewall over SSH inline and returns the new row at 201. Idempotent on (name, port, ip_address). Requires the write:servers…

Last Updated: August 20, 2026

Delete Firewall Rule

Disables the rule on the server (DisableFirewall over SSH) then deletes the row. Synchronous. Requires the write:servers scope.

Last Updated: August 20, 2026

Enable Firewall Rule

Marks the rule active and runs InstallFirewall over SSH. Synchronous. Requires the write:servers scope.

Last Updated: August 20, 2026

Disable Firewall Rule

Marks the rule inactive and runs DisableFirewall over SSH. Synchronous. Requires the write:servers scope.

Last Updated: August 20, 2026

Whitelist xCloud Infrastructure IPs

Adds (or extends) the "xCloud Infrastructure" rule so xCloud jumpbox, API, backup, and monitoring IPs can reach the server's SSH port. Safe to call repeatedly — already-present IPs are not…

Last Updated: August 20, 2026

Whitelist Caller IP

Whitelists the API caller's current IP address on the server's SSH firewall. Useful before tightening SSH access rules so the caller does not lock themselves out. Requires the write:servers scope.

Last Updated: August 20, 2026

Get SSH Restriction Status

Returns whether xCloud infrastructure IPs are whitelisted and whether the API caller's IP is whitelisted on the server's SSH firewall. Use before any rule-tightening operation to check for lockout risk.…

Last Updated: August 20, 2026

List Banned IP Addresses

Returns IP addresses currently banned by fail2ban on the server. Runs synchronously over SSH. Requires the read:servers scope and the server:manage-fail2ban permission.

Last Updated: August 20, 2026

Ban IP Addresses

Bans one or more IP addresses via fail2ban. Runs synchronously over SSH. Up to 100 IPs per call. Requires the write:servers scope and the server:manage-fail2ban permission.

Last Updated: August 20, 2026

Unban IP Address

Unbans a single IP address via fail2ban. Runs synchronously over SSH. Requires the write:servers scope and the server:manage-fail2ban permission.

This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.