title: Postman: Unset cookie function is not working
body: <p>I am running my collection and in one case I want to clear the cookie(clear login session) programmatically. I followed the documentation provided by postman (<a href="https://learning.getpostman.com/docs/postman/sending-api-requests/cookies/" rel="nofollow noreferrer">https://learning.getpostman.com/docs/postman/sending-api-requests/cookies/</a>) but that does not seem to be working. Is there any way to delete the cookies programmatically in my postman.</p>
  
  <p>I am using the following code in the "Tests" tab of postman</p>
  
  <pre><code>const cookieJar = pm.cookies.jar();
  cookieJar.unset(url, "cookiename", function (error) {
  });
  </code></pre>
  
  <p>When I hit send it shows "There was an error in evaluating the test script:  TypeError: cookieJar.unset is not a function" in the console and when I go to cookies in postman the cookie is not getting deleted</p>