# Is it possible to delete cookies from within Postman

**URL:** <https://community.postman.com/t/is-it-possible-to-delete-cookies-from-within-postman/7941>\
**Category:** Help Hub\
**Tags:** tests, cookies\
**Created:** [September 22, 2019, 11:33am UTC](https://community.postman.com/t/is-it-possible-to-delete-cookies-from-within-postman/7941 "2019-09-22T11:33:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronlouw](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/ronlouw/32/2861_2.png) [@ronlouw](https://community.postman.com/u/ronlouw)\
**Post date:** [September 22, 2019, 11:33am UTC](https://community.postman.com/t/is-it-possible-to-delete-cookies-from-within-postman/7941/1 "2019-09-22T11:33:13Z")

</div>

I have created some tests which make use of cookies. Before each test i want to clean up all the cookies ( not only make them empty) but really delete them. Before each test we now manually delete all cookies via the cookie manager of Postman. Is it possible to automate this so we can run the tests without manually actions? Or is there another way to delete all cookies ?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [September 22, 2019, 12:04pm UTC](https://community.postman.com/t/is-it-possible-to-delete-cookies-from-within-postman/7941/2 "2019-09-22T12:04:21Z")

</div>

Hey @ronlouw,

Welcome to the community!

You should be able to programmatically delete using this method:

[https://learning.getpostman.com/docs/postman/sending\_api\_requests/cookies/#whitelisting-domains-for-programmatic-access-of-cookies](https://learning.getpostman.com/docs/postman/sending_api_requests/cookies/#whitelisting-domains-for-programmatic-access-of-cookies)
