---
title: "Get a single database user by ID (must belong to the caller's account)"
method: GET
path: "/api/client/database-users/{id}"
tags: ["Client - Database Users"]
---

# Get a single database user by ID (must belong to the caller's account)

`GET /api/client/database-users/{id}`

## Path parameters

- `id` integer, required

## Response `200`

Database user details

- HostingAccountDatabaseUser — Database user model for HostingAccount
  - `id` integer — ID of the database user
  - `hosting_account_id` integer — ID of the related hosting account
  - `username` string — Database username
  - `username_prefix` string — Prefix for the database username

## Other responses

- `404` — Database user not found

---

[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)
