deleteAccount
Delete the current account. USER-ONLY
Parameters
reason: string
The reason of the deletion.
password?: string
The account’s password.
Result
void
Syntax
// Required parameters only.
await client.deleteAccount(reason);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.deleteAccount(reason, { password });