show_active_blocks – display a list of currently blocked IP addresses

April 17, 2024

ID 249393

show_active_blocks(Auth, client_id, resource_id)

Description: the method displays a list of currently blocked IP addresses.

Input parameters:

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

resource_id (int) – resource ID (integer from 1 to 4 294 967 295), or -1 for all resources of the customer.

Result:

A JSON notation string of the following structure:

{

<RESOURCE_ID>: [

{

ip – blocked IP address

timestamp – timestamp of the block (’YYYY-MM-DD hh:mm:ss’)

},

...

],

...

}

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.