Actions14
Account → Update
AI-generatedSummary
Update an existing financial account by specifying its ID and providing new values for fields such as Name, Color, Opening Balance, and Opening Balance Date.
Inputs
- Account ID (required) — The numeric ID of the financial account to update.
- Name — The new name to assign to the financial account.
- Color — The new color value to assign to the financial account.
- Opening Balance — The new opening balance amount of the account.
- Opening Balance Date — The new opening balance date in YYYY-MM-DD format.
Output shape
a single record representing the updated financial account details, returned from the API
The operation issues a PUT request to /api/dashboard/financeiro/accounts with a JSON body containing the account ID and any provided fields to update. Only the specified fields are updated; others remain unchanged. The API response includes the updated account data.
Examples
Example 1: Update the name and color of an account with ID 123, setting the name to 'Savings Account' and color to '#FF5733'.
Set 'Account ID' to 123, 'Name' to 'Savings Account', and 'Color' to '#FF5733'. Leave other fields blank or unset.