Hosting: Databases
Create database remote connection
Allows a remote host to connect to the specified database.
Provide an IPv4/IPv6 address, or "%" to allow any host. The database name must be the full name returned by the list databases endpoint.
post/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections
Path parameters
usernamestring required
Example:u123456789
namestring required
Example:u123456789_test_db
Full database name as returned by the list databases endpoint.
Request body
Example request
{
"ip": "192.0.2.10"
}Response
Success empty response
Example response
{
"message": "Request accepted"
}