---
title: "Delete a database user"
method: DELETE
path: "/api/hosting-account/database-users/{id}"
tags: ["Admin - Hosting Account Database Users"]
---

# Delete a database user

`DELETE /api/hosting-account/database-users/{id}`

## Path parameters

- `id` integer, required

## Request body

- object
  - `hosting_account_id` integer, required — ID of the hosting account

## Response `200`

Database user deleted successfully

## Other responses

- `400` — Hosting account ID is required
- `403` — Unauthorized access to hosting account

---

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