Update a company
PATCH/companies/:id
Partial update of name and active. Requires scope finance.companies.write. The CNPJ (and the type it derives) is immutable via the public API — send active: false to soft-deactivate.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
Updated company.
Malformed JSON body.
Missing / invalid / expired / revoked token.
Token lacks the finance.companies.write scope.
Company not found within the tenant.
Schema validation failure.
Unhandled server error.