InoDrive / Connection / disconnect


InoDrive.disconnect(timeout=None)

Have InoDrive Module attempt to Disconnect.

Arguments:
timeout (Number): (Optional) Timeout value in seconds.

Returns: Boolean – True or False Value on successfully disconnecting from the Module.

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

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

// Instantiate InoDrive Object
Drive = await InoDriveApi.InoDrive({target:'Name', autoConnect:True})

# Attempt to Disconnect from the InoDrive
Drive.disconnect()