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

# Delete user

`DELETE /users/{user_id}`

## Request

- Base URL: `https://enterprise.knak.io/api/published/v1`
- URL: `https://enterprise.knak.io/api/published/v1/users/{user_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/knak/apis/knak-enterprise-api/docs/users/:user_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete [user](#tag/user_model) via their ID (if permissions allow).

## Path parameters

- `user_id` string, required

## Query parameters

- `user_to_reassign` string

## Response `200`

OK

- Response
  - `message` string

## Other responses

- `400`: Bad Request
- `401`: Unauthenticated
- `403`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/knak/apis/knak-enterprise-api.md) - [All operations](https://skmtc.dev/knak/apis/knak-enterprise-api/llms.txt) - [OpenAPI document](https://skmtc.dev/knak/apis/knak-enterprise-api/revisions/31d2c94edfcc?raw)
