MCPcopy Create free account
hub / github.com/Botloader/botloader / deleteSession

Method deleteSession

frontend-common/src/api_client.ts:96–103  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

94 }
95
96 async deleteSession(token: string): Promise<ApiResult<{}>> {
97 return await this.delete("/api/sessions", {
98 kind: "json",
99 body: {
100 token: token,
101 }
102 });
103 }
104
105 async deleteAllSessions(): Promise<ApiResult<{}>> {
106 return await this.delete("/api/sessions/all");

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.95

Tested by

no test coverage detected