Minctrl Docs
API ReferenceCompanies

Update a company

PATCH
/companies/{company_id}

Partially update a company.

Requires a valid bearer token and the company.update capability (ADR-005 P4: owner + admin). Company-scoped to the given company id; a missing id returns 404.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

company_id*Company Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Partial update for a company — only provided fields are changed.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/companies/string" \  -H "Content-Type: application/json" \  -d '{    "name": "Acme AI Inc.",    "status": "active"  }'
null
Empty
Empty
Empty
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}