Skip to main content
Delete a file that was saved with my.saveFile.

Parameters

PropertyTypeRequiredDescription
apFilePathStringYesFile path to remove
successFunctionNoCallback on success
failFunctionNoCallback on failure
completeFunctionNoCallback that always executes

Code Example

my.removeSavedFile({
  apFilePath: filePath,
  success: () => {
    console.log('File removed');
  }
});