How to Remove 'Postman-Token' header in Newman

Hello Team,

I have been trying to remove the ‘Postman-Token’ header, while executing the postman collection using Newman. I am unable remove ‘Postman-Token’ header.

Please help me to resolve this issue.

Note: I am able to remove the ‘Postman-Token’ header in the Postman Tool, just by toggling ‘Off’ under the settings option.

Hi @Raghavendra_Prasad_R. Welcome to the Postman Community Forum!

What is your use case for removing this header? Newman uses the postman-runtime for running collections. The postman runtime is responsible for adding this header to your request header at runtime, and newman currently does not have a way to disable that behaviour.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.