Allows you to delete a chart of accounts
DELETE {{baseUrl}}/Accounts/:AccountID
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
xero-tenant-id | string | (Required) Xero identifier for Tenant |
RESPONSES
status: OK
{"Id":"76bb0543-8efe-4acc-b7f6-67dfcdec37b4","Status":"OK","ProviderName":"Xero API Partner","DateTimeUTC":"/Date(1550798217216)/","Accounts":[{"AccountID":"7f3c0bec-f3e7-4073-b4d6-cc56dd027ef1","Code":"123456","Name":"FooBar","Status":"DELETED","Type":"EXPENSE","TaxType":"INPUT","Description":"Hello World","Class":"EXPENSE","EnablePaymentsToAccount":false,"ShowInExpenseClaims":false,"ReportingCode":"EXP","ReportingCodeName":"Expense","UpdatedDateUTC":"/Date(1550798217210+0000)/"}]}