Delete an account.
Some related data is updated asynchronously. Clients can set an additional GET parameter
immediate_update which dictates that those values should be updated immediately in current request. Such a request may take longer to complete.
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.
* denotes required field/parameter.
$ curl https://api.toshl.com/accounts/42 \ -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl" \ -X DELETE