Chart of Accounts Templates
Clone CoA Template
Clone a Chart of Accounts template with all its ledgers templates.
POST
/
v0
/
platform-gl
/
coa-templates
/
{coa_template_id}
/
clone
Authorization
Path
Body
curl --request POST \
--url https://api.sandbox.teal.dev/v0/platform-gl/coa-templates/{coa_template_id}/clone \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'
{
"id": "PpvsmFEv14yGDyT6iV6kXw",
"name": "Coffee Shop Sole Prop"
}
Authorizations
Authorization
string
headerrequiredThe access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
coa_template_id
string
requiredThe ID of the chart of accounts template to be cloned
Body
application/json
name
string
requiredThe name of the cloned chart of account template
Response
201 - application/json
id
string
requiredname
string
requiredcurl --request POST \
--url https://api.sandbox.teal.dev/v0/platform-gl/coa-templates/{coa_template_id}/clone \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'
{
"id": "PpvsmFEv14yGDyT6iV6kXw",
"name": "Coffee Shop Sole Prop"
}