import GboxSDK from "gbox-sdk";const gboxSDK = new GboxSDK({ apiKey: process.env["GBOX_API_KEY"] // This is the default and can be omitted});async function main() { const box = await gboxSDK.create({ type: "android" }); const packageName = "com.example.app"; // Uninstall Android app by package name await box.app.uninstall(packageName); console.log("Android app uninstalled successfully");}main();
Android
Uninstall app
DELETE
/
boxes
/
{boxId}
/
android
/
packages
/
{packageName}
JavaScript
Copy
Ask AI
import GboxSDK from "gbox-sdk";const gboxSDK = new GboxSDK({ apiKey: process.env["GBOX_API_KEY"] // This is the default and can be omitted});async function main() { const box = await gboxSDK.create({ type: "android" }); const packageName = "com.example.app"; // Uninstall Android app by package name await box.app.uninstall(packageName); console.log("Android app uninstalled successfully");}main();