Can delete account from web ui
This commit is contained in:
@ -62,4 +62,14 @@ export class AccountApi {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete account
|
||||
*/
|
||||
static async Delete(account: Account): Promise<void> {
|
||||
await APIClient.exec({
|
||||
uri: `/account/${account.id}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user