Insert into your index.asp or index.php or home section the following example code:
Set App = CreateObject("FlexFirewallManager.Admin")
App.FormatOutput="xml"
App.Username="Plesk Domain User"
App.Password="Plesk Domain Pass"
Dim strIP : strIP = "123.123.123.123"
Dim returnstring : returnstring = App.UnlockIP(strIP)
Set objxml = CreateObject("Msxml2.DOMDocument")
objxml.LoadXml(return_string)
if lcase(objxml.SelectSingleNode("/output/result").text) = "true" then
response.write "Unlock IP " & strIP
else
response.write "Cannot Unlock IP " & strIP
end if
$app = new COM("FlexFirewallManager.Admin");
$app->FormatOutput="json";
$app->Username="Plesk Domain User";
$app->Password="Plesk Domain Pass";
$strIP = "123.123.123.123";
$returnstring = app->UnlockIP($strIP);
$appjson = json_decode($returnstring);
if($appjson->result){
echo "Unlock IP " . $strIP;
}else{
echo "Cannot Unlock IP " . $strIP;
}