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

# Delete User

`DELETE /api/v1/users/{user_id}`

## Path parameters

- `user_id` string, required — The ID of the user to delete

## Response `200`

Successful Response

- BaseResponse
  - `data` object, nullable — Response data payload
  - `errno` 0 | 400 | 401 | 403 | 404 | 405 | 409 | 422 | 500 | 501 | 502 | 503 | 504
  - `errmsg` string — Error message, empty when success

## Other responses

- `422` — Validation Error

## Changes

- **2025-01-15** `a9bfbdf3d53b` — 2 info
  - for the `path` request parameter `user_id`, the type was generalized from no type to `string`
  - removed the `520.00` enum value from the `errno` response property for the response status `200`

[Change history](https://skmtc.dev/memodb-io/apis/memobase-api/changes/api/v1/users/:user_id/delete.md)

---

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