Actualizar centro de clasificación
PATCH/classification-centers/:id
Partial update of name, type, description, active. Requires scope finance.cost_centers.write. Send description: null to clear it, or active: false to soft-deactivate (existing references are preserved). Naming: the path is hyphenated like every other v1 resource (/classification-centers), but the scope is still finance.cost_centers — the table behind it is cost_centers, and the scope names the grant, not the URL.
Solicitud
Respuestas
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Updated classification center.
Malformed JSON body.
Missing / invalid / expired / revoked token.
Token lacks the finance.cost_centers.write scope.
Classification center 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.