PUT
/
v0
/
platform-gl
/
coa-templates
/
ledgers
/
{ledger_template_id}
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"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

ledger_template_id
string
required

The ID of the Ledger Template.

Body

application/json

Response

201
application/json

Successful Response

The response is of type object.