# Suppress API call from the Console

**URL:** <https://community.postman.com/t/suppress-api-call-from-the-console/33500>\
**Category:** Help Hub\
**Tags:** console, password\
**Created:** [March 15, 2022, 2:04pm UTC](https://community.postman.com/t/suppress-api-call-from-the-console/33500 "2022-03-15T14:04:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcdanir3](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@mcdanir3](https://community.postman.com/u/mcdanir3)\
**Post date:** [March 15, 2022, 2:04pm UTC](https://community.postman.com/t/suppress-api-call-from-the-console/33500/1 "2022-03-15T14:04:16Z")

</div>

Question: Can you suppress an API call from the console.

I’m running a collection that makes internal calls that require associate level authorization, I can generate the token externally and provide it as an environment variable that works fine. The token is short lived however and expires before I can get through the volume of data that I want to test with in this collection.

I added a step to generate the token on each iteration through the collection but the problem is that the collection requires my userId and password. I have marked these as secret in the Environments tab but they are unmasked in the console.

I know that this has been discussed here, [Hiding secret variable](https://community.postman.com/t/hiding-secret-variables-from-postman-console/32406/2) and there is an issue for it [here](https://github.com/postmanlabs/postman-app-support/issues/10650). I’m looking at solving it from another direction all together by just removing the whole call from the logs.

I would also be completely onboard for the ability to pop an input box in Postman that would allow me to enter my password one time and not have to persist it into the environments file but that is a completely separate item.

---

<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:** [April 22, 2025, 3:52pm UTC](https://community.postman.com/t/suppress-api-call-from-the-console/33500/2 "2025-04-22T15:52:51Z")

</div>

Closed on April 22, 2025, 3:52pm UTC

Sorry we didn’t get to this sooner. This isn’t the experience we want for our users.

We’re closing out older posts to help keep the community organized and relevant. I would recommend using the [Postman Vault](https://learning.postman.com/docs/sending-requests/postman-vault/postman-vault-secrets/) to handle your sensitive data, this will be masked in console.
