---
title: "Delete database remote connection"
method: DELETE
path: "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections"
tags: ["Hosting: Databases"]
---

# Delete database remote connection

`DELETE /api/hosting/v1/accounts/{username}/databases/{name}/remote-connections`

Permanently 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.

## Path parameters

- `username` string, required
- `name` string, required

## Query parameters

- `ip` string, required

## Response `200`

Success empty response

- CommonSuccessEmptyResource
  - `message` string

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

## Changes

- **2026-07-27** `6622a88a5a1b` — 1 info
  - api operation id `hosting_deleteAccountDatabaseRemoteConnectionV1` removed and replaced with `hosting_deleteDatabaseRemoteConnectionV1`
- **2026-06-30** `f02cb56cf688` — 1 info
  - endpoint added
- **2026-06-09** `d05574986eb1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/hostinger/apis/hostinger-api/changes/api/hosting/v1/accounts/:username/databases/:name/remote-connections/delete.md)

---

[API](https://skmtc.dev/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.dev/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/53ccee45e5eb/schema)
