Description
This function authorizes a remote host to access a cPanel account's MySQL® users.
Warning:
- UAPI (recommended) —
Mysql::delete_host
— This function removes a remote MySQL® host's access to the account's databases. - cPanel API 2 —
MysqlFE::deauthorizehost
— This function removes a remote host's authorization.
Examples
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
host |
string |
Required The hostname or IP address from which to remove access. |
A valid domain name or a valid IP address. |
remote.example.com |
Returns
This function does not return output.