Minctrl Docs
API ReferenceCompanies

Delete a company

DELETE
/companies/{company_id}

Delete a company.

Requires a valid bearer token and the company.delete capability (ADR-005 P4: owner only — admins cannot delete). Scoped to the given company id; a missing id returns 404.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

company_id*Company Id

Response Body

application/json

curl -X DELETE "https://example.com/companies/string"
Empty
Empty
Empty
Empty
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}