---
title: "Deactivate a user"
method: DELETE
path: "/users/{uuid}"
---

# Deactivate a user

`DELETE /users/{uuid}`

## Request

- Base URL: `https://public-api.leexi.ai/v1`
- URL: `https://public-api.leexi.ai/v1/users/{uuid}`
- Auth: API key in header `Authorization`

Deactivate a user. Users are never permanently deleted: their calls and history are kept, their sessions are revoked and they stop consuming a license. Reactivate them with a `PATCH` setting `active` to `true`.

## Path parameters

- `uuid` string, required

## Response `200`

200

- object
  - `data` object
  - `message` string
  - `success` boolean

## Other responses

- `403`: 403
- `404`: 404

---

[API](https://skmtc.dev/leexi/apis/leexi-public-api.md) · [All operations](https://skmtc.dev/leexi/apis/leexi-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/leexi/apis/leexi-public-api/revisions/3d10e45c30f5?raw)
