Delete account
Delete an account. Some related data is updated asynchronously.
If the account is the only account it cannot be deleted.
The entries are moved to default account
If account is the default one another account with the highest balance is selected to be default.
DELETE /accounts/{id}
Required scope:
- accounts:rw
Parameters
id * required string
|
Account id. |
* denotes required field/parameter.
Request
$ curl https://api.toshl.com/accounts/42 \ -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl" \ -X DELETE