---
title: "Delete User"
method: DELETE
path: "/admin/users/{user_id}"
tags: ["admin"]
---

# Delete User

`DELETE /admin/users/{user_id}`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/admin/users/{user_id}`
- Auth: none declared

Delete a user account immediately (no grace period).

Same cleanup as the scheduled account deletion: credentials with their
secrets, the personal organization and its OpenBao namespaces, then the
user row. Refuses (409) while the account still owns clusters,
deployments, databases or secrets, or money is outstanding — those go
through their own delete flows first. Platform admins must be removed
from the Mengi organization before they can be deleted.

## Path parameters

- `user_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
