v51

OpenAPI 3.0.0raw.githubusercontent.com2026-08-01267339950.6 KB
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

ipstring required

Remote host to allow: an IPv4/IPv6 address, or "%" for any host.

Example request

{
  "ip": "192.0.2.10"
}

Response

Success empty response

messagestring

Example response

{
  "message": "Request accepted"
}