201Successful Response
Schema: SuccessEnvelope_ResetCounterpartyResponse_
successbooleanmessagestringcodestringdataResetCounterpartyResponse
/api/v1/counterparty-naming/resetRecomputes the deterministic detected name (known merchant patterns, then descriptor cleanup) from each transaction's description, clears the registry link and any alias for the group. No AI is involved. Send dry_run to list the rows that would change with a plan_hash; send that plan_hash on the apply and it is refused (VALIDATION_640) if the rows moved.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: ResetCounterpartyRequest
counterparty_namestringrequiredregistry_idstringdry_runbooleanList the rows that would change and a plan_hash; change nothing.
plan_hashstringThe plan_hash a dry run returned. If the rows moved since, the reset is refused (VALIDATION_640) and you preview again.
Schema: SuccessEnvelope_ResetCounterpartyResponse_
successbooleanmessagestringcodestringdataResetCounterpartyResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.