latestOpenAPI 3.1.02026-08-218667571.2 MB

a8ca30023371

User APIs
distributor-view

Deactivate Wholesale Client

Deactivating a wholesale client does not return a slot to the pool — the license stays consumed for the term (no recycling, WR-3). Access is cut for real, same as the admin client-deactivation flow: Okta users are deactivated so platform and MCP access ends immediately.

post/api/v1/distributor/wholesale-clients/{lpc_id}/deactivate

Path parameters

lpc_idstring uuid required

Response

Successful Response

idstring uuid required
company_namestring required
admin_namestring nullable
admin_emailstring nullable
joined_atstring date nullable
statusstring required
user_countinteger required
tokens_used_todaynumber nullable
mcp_daily_token_capinteger nullable
license_expires_atstring date nullable
contract_idstring uuid required
tier_idstring uuid nullable
tier_namestring nullable