MCPcopy
hub / github.com/directus/directus / remove

Function remove

app/src/stores/extensions.ts:113–116  ·  view source on GitHub ↗
(extensionId: string)

Source from the content-addressed store, hash-verified

111 };
112
113 const remove = async (extensionId: string) => {
114 await api.delete(`/extensions/${extensionId}`);
115 await refresh();
116 };
117
118 const extensionIds = computed(() => extensions.value.map((ext) => ext.id));
119

Callers 1

uninstallMethod · 0.50

Calls 2

refreshFunction · 0.70
deleteMethod · 0.65

Tested by

no test coverage detected