How to Delete File in SuiteScript2.0? Equivalent API of nlapiDeleteFile()?

Hi All,

Please use below code to delete file in SuiteScript2.0:



In SuiteScript1.0:

      nlapiDeleteFile(id)



In SuiteScript2.0:

       file.delete(options)


Module Used:

      N/file Module


Please comment if you have any question.



Thanks

Abhi



Comments