Hosting: Databases
List database remote connections
Returns the remote-access rules for the specified account: the remote hosts (IPv4/IPv6 addresses, or "%" for any host) allowed to connect to the account databases.
Use the domain filter to only return rules for databases assigned to a specific domain.
get/api/hosting/v1/accounts/{username}/databases/remote-connections
Path parameters
usernamestring required
Example:u123456789
Query parameters
domainstring nullable
Example:example.com
Filter remote connections by the domain the database is assigned to. Rules for databases not assigned to any domain are always included.
Response
Success response
Example response
[
{
"database_name": "u123456789_shop",
"database_user": "u123456789_admin",
"ip": "192.0.2.10"
}
]