Can delete account from web ui

This commit is contained in:
2025-04-09 19:00:44 +02:00
parent 82186259d1
commit 132482c47d
2 changed files with 53 additions and 1 deletions

View File

@ -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",
});
}
}