Hosting: Databases
Delete database remote connection
Changed onPermanently removes a remote-access rule, revoking the given host's remote access to the database.
Identify the rule with the required ip query parameter (the IPv4/IPv6 address, or "%", exactly as returned by the list remote connections endpoint). The database name must be the full name returned by the list databases endpoint.
delete/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections
- Auth: HTTP bearer
Path parameters
usernamestring required
Example:u123456789
namestring required
Example:u123456789_test_db
Full database name as returned by the list databases endpoint.
Query parameters
ipstring required
Example:192.0.2.10
Remote host to revoke: the IPv4/IPv6 address, or "%", exactly as returned by the list remote connections endpoint.
Response
Success empty response
Example response
{
"message": "Request accepted"
}Changes
- info
api operation id
hosting_deleteAccountDatabaseRemoteConnectionV1removed and replaced withhosting_deleteDatabaseRemoteConnectionV1
- info
- info
endpoint added
- info