MCPcopy Create free account
hub / github.com/PIKACHUIM/CFWorkerACME / updateApiToken

Function updateApiToken

frontend/src/api/user.ts:15–18  ·  view source on GitHub ↗
(privateKey: string)

Source from the content-addressed store, hash-verified

13 * 更新 API Token
14 */
15export async function updateApiToken(privateKey: string): Promise<boolean> {
16 const data = await apiPost<ApiResp>('/token/', { privateKey });
17 return data.flags === 0;
18}
19
20/**
21 * 删除账号(需传入邮箱二次确认)

Callers 1

handleSaveTokenFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected