MCPcopy Create free account
hub / github.com/aptdnfapt/qwen-code-oai-proxy / removeAccount

Function removeAccount

authenticate.ts:79–89  ·  view source on GitHub ↗
(accountId: string)

Source from the content-addressed store, hash-verified

77}
78
79export async function removeAccount(accountId: string): Promise<void> {
80 console.log(`Removing Qwen account with ID: ${accountId}...`);
81 try {
82 const authManager = new QwenAuthManager();
83 await authManager.removeAccount(accountId);
84 console.log(`\n✅ Account ${accountId} removed successfully!`);
85 } catch (error: any) {
86 console.error("Failed to remove account:", error.message);
87 process.exit(1);
88 }
89}
90
91export async function checkRequestCounts(): Promise<void> {
92 console.log("Checking request counts for all accounts...");

Callers 1

runAuthCommandFunction · 0.85

Calls 1

removeAccountMethod · 0.95

Tested by

no test coverage detected