# /ledger/accounts/{accountId}/rename-code

Repair an account's code within this tenant. Exists for the mis-templated-product
incident class: an account created under a wrong AccountCodeTemplate breaks every
code-addressed posting (e.g. a payout capture) AFTER money has moved. Balances,
journal lines and holds reference the account by ID, so renaming the code is
safe: only future code lookups change. Codes stay unique per tenant.

URL: https://docs.shiwake.app/docs/reference/accounts/post-ledger-accounts-accountid-rename-code



{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

