---
title: "Delete a user"
method: POST
path: "/user/{userId}/delete"
tags: ["User"]
---

# Delete a user

`POST /user/{userId}/delete`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/user/{userId}/delete`
- Auth: HTTP bearer

## Path parameters

- `userId` string, required: The ID of the user to delete

## Request body

- object

## Response `200`

The user was deleted successfully

- object
  - `id` string, required: The ID of the deleted user

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
