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

# Deactivate a user

`DELETE /reseller/companies/{company_uuid}/users/{uuid}`

## Request

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

Deactivate a user of a client company. 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

- `company_uuid` string, required
- `uuid` string, required

## Response `200`

200

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

## Other responses

- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `429`: 429

---

[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)
