Excluir classificador personalizado
DELETE/custom-classifiers/:id
Deletes a custom classifier and its values. Requires scope finance.custom_classifiers.write. Returns 422 (reason: in_use, with a usage breakdown) when any value is assigned to a payable / receivable / transaction — soft-deactivate via PATCH { active: false } instead. Calling DELETE twice returns 200 then 404.
Requisição
Respostas
- 200
- 401
- 403
- 404
- 422
- 429
- 500
Custom classifier deleted.
Missing / invalid / expired / revoked token.
Token lacks the finance.custom_classifiers.write scope.
Custom classifier not found within the tenant.
The custom classifier is in use (reason: in_use).
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.