Openapi
Update an account of the chart of accounts.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
accountId*stringuuidorganizationId*stringuuidThe account payload.
application/jsonactive?booleancode*string1 <= length <= 32name*string1 <= length <= 200parentId?|uuidreconcilable?booleantype*accountTypeSchema"asset""liability""equity""income""expense"Returns the result.
application/jsonactive*booleancode*stringid*stringuuidlevel*integername*stringparentId*|uuidreconcilable*booleantype*accountTypeSchema"asset""liability""equity""income""expense"curl -X PATCH 'https://app.localhost/api/v1/organizations/123/accounting/accounts/123e4567-e89b-12d3-a456-426614174000' \ -H 'Content-Type: application/json' \ -d '{ "code": "string", "name": "string", "type": "asset"}'{ "active": true, "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "level": 0, "name": "string", "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43", "reconcilable": true, "type": "asset"}