im using this function
this.del = function(url, data, header, cookie) {
command = 'curl -X DELETE -k '
if (typeof cookie === 'string') command += ('-b '+ 'PVEAuthCookie='+ cookie + ' ');
if (typeof header === 'string') command += ('-H ' +'"'+'CSRFPreventionToken:' + header + '"'+' ')...