MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / deleteAccount

Method deleteAccount

frontend/src/lib/api/userService.ts:43–47  ·  view source on GitHub ↗
(password: string)

Source from the content-addressed store, hash-verified

41 }
42
43 async deleteAccount(password: string): Promise<{ message: string }> {
44 return apiClient.delete<{ message: string }>('/users/account', {
45 body: JSON.stringify({ password }),
46 });
47 }
48
49 // Settings management
50 async getSettings(): Promise<UserSettings> {

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected