Uninstall a module (removes the row + the fetched dir)
DELETE
/admin/v1/modules/{name}
const url = 'https://your-store.example.com/admin/v1/modules/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://your-store.example.com/admin/v1/modules/exampleParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” name
required
string
Query Parameters
Section titled “Query Parameters ” dropData
boolean
When true, also drops the module DB schema (mod_