MCPcopy Create free account
hub / github.com/Microck/opencode-studio / deletePlugin

Function deletePlugin

client-next/src/lib/api.ts:319–321  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

317}
318
319export async function deletePlugin(name: string): Promise<void> {
320 await api.delete(`/plugins/${name}`);
321}
322
323export async function togglePlugin(name: string): Promise<{ enabled: boolean }> {
324 const { data } = await api.post<{ success: boolean; enabled: boolean }>(`/plugins/${name}/toggle`);

Callers 1

handleDeleteFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected