# How to hide response body while running collection in newman report

**URL:** <https://community.postman.com/t/how-to-hide-response-body-while-running-collection-in-newman-report/9126>\
**Category:** Help Hub\
**Tags:** collections\
**Created:** [November 20, 2019, 10:48am UTC](https://community.postman.com/t/how-to-hide-response-body-while-running-collection-in-newman-report/9126 "2019-11-20T10:48:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajyy](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@rajyy](https://community.postman.com/u/rajyy)\
**Post date:** [November 20, 2019, 10:48am UTC](https://community.postman.com/t/how-to-hide-response-body-while-running-collection-in-newman-report/9126/1 "2019-11-20T10:48:33Z")

</div>

> **Archived topic — this may be out of date.**  
> Newman has been replaced by the **[Postman CLI](https://learning.postman.com/docs/postman-cli/postman-cli-overview/)**, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

Hi Team,

I’m trying to run bunch of api collection suite in newman. My first request is to generate bearer token. I need to hide only my first request response body.

I have tried using “-r htmlextra --reporter-htmlextra-skipSensitiveData” but its hiding all response body in html reports. Please suggest me some workaround.

Thanks,  
Rajesh Kumar

---

<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:** [November 21, 2019, 1:02pm UTC](https://community.postman.com/t/how-to-hide-response-body-while-running-collection-in-newman-report/9126/2 "2019-11-21T13:02:29Z")

</div>

Hey @rajyy,

As you messaged me privately about this question, i’m going to close the topic.

---

<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:** [November 21, 2019, 1:02pm UTC](https://community.postman.com/t/how-to-hide-response-body-while-running-collection-in-newman-report/9126/3 "2019-11-21T13:02:34Z")

</div>

Closed on November 21, 2019, 1:02pm UTC


