---
title: "Delete user"
method: DELETE
path: "/api/users/{userId}"
tags: ["Users"]
---

# Delete user

`DELETE /api/users/{userId}`

Delete user with the given ID. Note all associated data will be deleted cascadingly.

## Path parameters

- `userId` string, required

## Response `204`

User deleted successfully.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

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