Companies
Delete a company
Delete a stopped or never-started company and every row of it.
Deletes a stopped or never-started company and every row of it — buildings, offices, items, runs, approvals, the event log and the manifest — at once. A running company is refused: POST …/stop first. The saved campus, building and office documents stay, so POST …/apply brings the company back, empty.
Authorizations
Authorization: Bearer ozk_…. ozk_ platform API key (Authorization: Bearer ozk_…)Path parameters
plunge), never a row idResponse
Deleted
unauthorized — missing, invalid or revoked ozk_ key
application/json
company_not_found — no company with that slug for this account (a foreign slug answers the same); not_found — no route for this method on this path: every other method answers it
application/json
conflict — the company is running; stop it first. Nothing was deleted
application/json
upstream_error — the company service is unavailable; retry
application/json
not_enabled — the company service is not deployed on this tier
application/json