This function deletes an IP address from the Greylisting Trusted Hosts list. |
Examples
|
Parameter | Type | Description | Possible values | Example | |
---|---|---|---|---|---|
ip | string | Required The record's IP address, or a range of IP addresses.
| A valid IP address or range of IP addresses. | 192.168.0.1
|
Return | Type | Description | Possible values | Example |
---|---|---|---|---|
ips_failed | hash | A hash of the IP addresses that the function failed to add to the Trusted Hosts list. | This hash includes the host_ip and comment returns. | |
| string | The failed IP address. The function returns this value in the | A valid string. | 5.5 |
| sting | A description of why the function failed to delete the record. The function returns this value in the | A valid string. | Invalid IP address or range: \u201c5.5\u201d |
ips_removed | array of hashes | An array of hashes of the IP addresses that the function removed from the Trusted Hosts list. | Each hash includes the | |
| string | The removed host's IP address. The function returns this value in the | A valid IP address. | 192.168.0.1
|
Function information
About WHM API 1
Find a functionRelated functions
|