import Mobilerun from '@mobilerun/sdk';
const client = new Mobilerun({
apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});
await client.devices.files.delete('deviceId', { path: 'path' });
Deletes the file at the path given in the path query parameter from the device.
DELETE
/
devices
/
{deviceId}
/
files
JavaScript
import Mobilerun from '@mobilerun/sdk';
const client = new Mobilerun({
apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});
await client.devices.files.delete('deviceId', { path: 'path' });