Hosting: Databases
List database remote connections
Changed onReturns 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
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/hosting/v1/accounts/{username}/databases/remote-connections
- Auth: HTTP bearer
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"
}
]Changes
- info
api operation id
hosting_listAccountDatabaseRemoteConnectionsV1removed and replaced withhosting_listDatabaseRemoteConnectionsV1
- info
- info
endpoint added
- info