---
title: "Deactivate a client company"
method: DELETE
path: "/reseller/companies/{uuid}"
---

# Deactivate a client company

`DELETE /reseller/companies/{uuid}`

## Request

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

Deactivate a client company attached to your reseller account. Its subscription is canceled, every user is deactivated and the company can no longer be used. Setting `active` back to `true` only reopens the company record: users and subscription are not restored.

## Path parameters

- `uuid` string, required

## Response `200`

200

- object
  - `data` object
    - `active` boolean
    - `created_at` string
    - `industry` string, nullable: Industry of the client company. Null when not set.
    - `name` string
    - `reseller_external_id` string, nullable: Your own reference for this client company. Null when not set.
    - `updated_at` string
    - `uuid` string
    - `subscription` object: Billing state of the client company. There is no separate subscription object.
      - `status` string: Stripe status (active, trialing, incomplete, past_due, not_started, incomplete_expired, canceled, unpaid, paused) or Leexi trial status (leexi_trialing, leexi_trial_ended).
      - `active` boolean: Whether the client can currently use Leexi.
      - `license` string, nullable: free, starter, ai_meeting or business.
      - `interval` string: month or year.
      - `currency` string
      - `trial_end` integer, nullable: Unix timestamp. Null when the client is not on a trial.
      - `seats` object
        - `billed` integer: Number of seats currently billed.
        - `max` integer, nullable: Maximum number of paid users. Null when unlimited.
        - `min` integer, nullable: Minimum billed seats. Null when not enforced.
      - `manual_payment` boolean
      - `subscription_required` boolean
  - `message` string
  - `success` boolean

## Other responses

- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `422`: 422
- `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)
