bwl_add_ipranges – add an IP address to the list of allowed or denied IP addresses

April 17, 2024

ID 249351

bwl_add_ipranges(Auth, client_id, object_name, object_id, type, ips)

Description: add a set of IP addresses to the list of allowed or denied IP addresses.

Input parameters:

client_id (int) – customer ID (integer from 1 to 4 294 967 295).

object_name (str) – object name (transmit only ’resource’, other parameters will be available in future as well).

object_id (int) – ID of the specified object (integer, from 1 to 4 294 967 295).

type (str) – type of list ('DENY' – denylist, 'ALLOW' – allowlist).

ips (str) - set of addresses, ranges, subnets separated by commas (’CIDR, IP-IP, IP’).

Result:

value (str) – '0', or Soap Fault if an error occurs.

Note:

It is forbidden to add 0.0.0.0 IP address.

Total number of simultaneously added IP addresses should not be more than 4096.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.