Actualizar empresa
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.
Solicitud
Respuestas
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Updated company.
Malformed JSON body.
Missing / invalid / expired / revoked token.
Token lacks the finance.companies.write scope.
Company not found within the tenant.
X-Idempotency-Key reused with a different body.
Schema validation failure.
Rate limit exceeded for this token. Reads and writes have separate budgets, both on a 1-hour sliding window. The response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and Retry-After — wait out Retry-After rather than retrying immediately.
Unhandled server error.