delete
https://public-api.leexi.ai/v1/reseller/companies/
Deactivate a client company attached to your reseller account
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Leexi never hard deletes a company. The request body is ignored. Deactivating a client company:
- cancels its subscription,
- deactivates every one of its users, who can no longer sign in,
- marks the company as inactive (
active: false).
Settingactiveback totrueafterwards only reopens the company record: its users stay deactivated and its subscription stays canceled. Fully reactivating a client is a manual operation by the Leexi team: contact your Leexi account manager.
A company with an active Stripe subscription cannot be deactivated and answers 422. Cancel the subscription first with Cancel a client subscription.
PATCH with active: false on Update a client company does exactly the same thing.
Requires thewrite_clientspermission scope on the API key of a reseller account.
A company that is not one of your clients, including your own reseller company, answers404.
401401
402402
429429
