# Is it possible to inherit headers from parent in postman?

**URL:** <https://community.postman.com/t/is-it-possible-to-inherit-headers-from-parent-in-postman/7734>\
**Category:** Help Hub\
**Created:** [September 12, 2019, 7:55am UTC](https://community.postman.com/t/is-it-possible-to-inherit-headers-from-parent-in-postman/7734 "2019-09-12T07:55:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbbd](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@tbbd](https://community.postman.com/u/tbbd)\
**Post date:** [September 12, 2019, 7:55am UTC](https://community.postman.com/t/is-it-possible-to-inherit-headers-from-parent-in-postman/7734/1 "2019-09-12T07:55:28Z")

</div>

Like authorization could be inherited from its parent how could we inherit headers.

---

<div class="post-metadata">

**Author:** ![suraj.purohit](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@suraj.purohit](https://community.postman.com/u/suraj.purohit)\
**Post date:** [September 12, 2019, 8:13am UTC](https://community.postman.com/t/is-it-possible-to-inherit-headers-from-parent-in-postman/7734/2 "2019-09-12T08:13:50Z")

</div>

Hi @tbbd,

Welcome to community 👋

Please check the link given below and let me know if this what you are looking for?

> [@Setting headers for entire collection/folder](https://community.postman.com/t/setting-headers-for-entire-collection-folder/708/14):
>
> As of 7.0.9 - You should be able to now do this in your Pre-request Scripts. You can use the following syntax: pm.request.headers.add({key: 'header\_name', value: 'header\_value' }) pm.request.headers.upsert({key: 'header\_name', value: 'header\_value' }) pm.request.headers.remove('header\_name') EDIT: Fork this collection to see how it works directly in Postman: [https://www.postman.com/postman/workspace/postman-answers/collection/9215231-ef055751-7385-45b4-a6f9-91bbd1c47fa5?ctx=documentation](https://www.postman.com/postman/workspace/postman-answers/collection/9215231-ef055751-7385-45b4-a6f9-91bbd1c47fa5?ctx=documentation)

> **[Process data and script workflows using Postman JavaScript objects | Postman...](https://learning.postman.com/docs/tests-and-scripts/write-scripts/postman-sandbox-api-reference/)**
>
> Postman is a collaboration platform for API development. Postman's features simplify each step of building an API and streamline collaboration so you can create better APIs—faster.
