Required API Call script for Block the traffic for specific ip on security firewall options

we are trying to configure API call for block the traffic from specific system ip address. Required API / CLI script for block the traffic for the specific ip on security firewall option in F5 bigip.

You may see this code article I made long time ago about updating data groups from external source Automate Data Group updates on many Big-IP devices using Big-IQ or Ansible or Terraform | DevCentral (f5.com)

hi Nikoolayy,

we have external automate tool(Sour). through that

automation tool we are trying to add/remove IP address to the IP Intelligence category.

could you share the script/cli command for achieve our requirement.

BIG-IP version 17.1.0.3

.