Accounts
Update a portfolio account
Applies the supplied fields to one Chart of Accounts row. Omitted fields are unchanged and an explicit null parentAccountNumber detaches the account. A newly requested parent must have the same account type as the child and must not carry journal activity. Returning the canonical account response also requires ledger-account view permission. Advanced Ledger is required after the existing account permissions; unavailable Advanced Ledger returns HTTP 403 (FeatureNotEnabledError).
patch/v1/portfolios/{portfolioSlug}/accounts/{accountNumber}
Request
- Base URL: https://api.tokenbooks.io (the document declares no server; this is the origin it was published from)
- URL: https://api.tokenbooks.io/v1/portfolios/{portfolioSlug}/accounts/{accountNumber}
- Auth: API key in header x-api-key
Path parameters
accountNumberstring required
Current portfolio-unique ledger account number.
portfolioSlugstring required
Workspace-scoped portfolio slug
Request body
Response
The account after the update in the shared account row shape.
Changes
No recorded changes to this operation across all 1 revision of this API.