⚡ Dedicated Nodes for ETH, BSC, MATIC & other Blockchains at a Reduced Price!
Method: POST set_ban
Method not allowed
Inserts or deletes an IP/Subnet from the banned list
address - string
The IP/Subnet with an optional netmask (default is /32 = single IP). Examples: - “192.168.0.2” bans a single IP - “192.168.0.0/24” bans IP from “192.168.0.0” to “192.168.0.255”.
command - string
insert to insert an IP/Subnet to the list, delete to delete an IP/Subnet from the list.
ban_time - timestamp | null
Time in milliseconds how long (or until when if [absolute] is set) the IP is banned, optional parameter, null means using the default time of 24h
absolute - boolean | null
If set, the ban_time must be an absolute timestamp in milliseconds since epoch, optional parameter.
reason - string | null
Ban reason, optional parameter.