cURL
curl --request PUT \ --url https://api.sandbox.teal.dev/v0/platform-gl/coa-templates/ledgers/{ledger_template_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "sort_code": "<string>" }'
{ "id": "7JRNsKwy2Lw66caxVU7WGC", "children": null, "debit_credit": "debit", "editable": false, "financial_account_type": "bank_account", "is_required": false, "name": "Pluto Checking 4242", "parent_id": null, "report_cash_flow": true, "sort_code": "1400", "sub_type": "current_assets", "type": "asset" }
Updates an existing Ledger Template.
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the Ledger Template.
Successful Response
The response is of type object.
object