source/factory.js
function deleteFile(remotePath, options) {
            const deleteOptions = merge(baseOptions, options || {});
            return deletion.deleteFile(remotePath, deleteOptions);
        }
function deleteFile(remotePath, options) {
            const deleteOptions = merge(baseOptions, options || {});
            return deletion.deleteFile(remotePath, deleteOptions);
        }
function deleteFile ( remotePath , options ) { const deleteOptions = merge ( baseOptions , options || { } ) ; return deletion . deleteFile ( remotePath , deleteOptions ) ; }
Delete a remote file
@param {String} remotePath The remote path to delete
@param {UserOptions=} options The options for the request
@memberof ClientInterface
@returns {Promise} A promise that resolves when the remote file as been deleted
@example
await client.deleteFile("/some/file.txt");
Delete a remote file