Deactivate a client company
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.
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
Path parameters
uuidstring required
UUID of one of your client companies.
Response
200
Example response
{
"data": {
"active": true,
"created_at": "2024-06-14T11:00:33.534Z",
"industry": "consulting",
"name": "Client One",
"reseller_external_id": "CLIENT-1",
"updated_at": "2024-06-14T11:00:33.534Z",
"uuid": "c1f4b7a2-3d2e-4f0a-9b1c-6e7d8a9f0b12",
"subscription": {
"status": "leexi_trialing",
"active": true,
"license": "business",
"interval": "year",
"currency": "eur",
"trial_end": 1767222000,
"seats": {
"billed": 4,
"max": 10,
"min": 2
},
"subscription_required": true
}
},
"message": "Company successfully updated",
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.