InoDrive / File / deleteUserApp


InoDrive.File.deleteUserApp()

Deletes the current User Application in module.

Returns: Boolean – True or False on successfully deleting the User Application File.

// Import InoDrive API Library
import { InoDriveApiJS }  from "ck-inodrive-api" 

// Instatiate the API
let InoDriveApi = new InoDriveApiJS.InoDriveApi({ connectAppUrl: "", secure: false })

// Instantiate InoDrive Object
let Drive = await InoDriveApi.InoDrive({ target: "Name", autoConnect: true })

//  Delete User Application
await Drive.File.deleteUserApp()