---
title: "Permanently delete a user and all of their data"
method: POST
path: "/admin/users/delete"
tags: ["Internal", "Admin"]
---

# Permanently delete a user and all of their data

`POST /admin/users/delete`

## Request body

- object
  - `userId` string

## Response `200`

User was successfully deleted

- BaseAPIResponse — Simple API response
  - `message` string
  - `success` boolean

## Other responses

- `400` — Bad request
- `401` — Basic auth failure
- `default` — Unexpected error

---

[API](https://skmtc.net/owncast/apis/owncast-apis.md) · [All operations](https://skmtc.net/owncast/apis/owncast-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/owncast/owncast-apis/versions/d3510588e78e/schema)
