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

# Delete account database

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

Permanently deletes a database and its remote connections.

The database name must be the full name returned by the list databases endpoint.

## Path parameters

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

## Response `200`

Success empty response

- CommonSuccessEmptyResource
  - `message` string

## Other responses

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

---

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