Can request account deletion

This commit is contained in:
2023-06-14 16:12:09 +02:00
parent 6f58e767a2
commit 10e5c124fd
5 changed files with 225 additions and 3 deletions

View File

@@ -79,4 +79,14 @@ export class UserApi {
return ReplacePasswordResponse.Error;
}
}
/**
* Request account deletion
*/
static async RequestAccountDeletion(): Promise<void> {
await APIClient.exec({
uri: "/user/request_delete",
method: "GET",
});
}
}