Deactivate company (POST /deactivate)
POST/v1/companies/:id/deactivate
Deactivates the company. Cannot deactivate the only active company, nor a company that has active or trialing subscriptions. If the deactivated company was the default, another active company is promoted automatically.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
- 500
Company deactivated.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.