# How can I revoke or rotate an exposed Pyth API key?

**URL:** <https://dev-forum.pyth.network/t/how-can-i-revoke-or-rotate-an-exposed-pyth-api-key/842>\
**Category:** Benchmarks(Historic Prices)\
**Created:** [September 27, 2026, 11:09pm UTC](https://dev-forum.pyth.network/t/how-can-i-revoke-or-rotate-an-exposed-pyth-api-key/842 "2026-09-27T23:09:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nodebaha](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@nodebaha](https://dev-forum.pyth.network/u/nodebaha)\
**Post date:** [September 27, 2026, 11:09pm UTC](https://dev-forum.pyth.network/t/how-can-i-revoke-or-rotate-an-exposed-pyth-api-key/842/1 "2026-09-27T23:09:06Z")

</div>

Hi,

I’m using a Pyth Terminal demo/trial API key for a development project.

The key was accidentally exposed while I was debugging my local environment, so I no longer want to use it.

I can’t find an option in Pyth Terminal to revoke, rotate, or regenerate the API key.

Is there a way to invalidate the current key and generate a new one for the same account?

I have not included the API key in this post.

Thanks.

---

<div class="post-metadata">

**Author:** ![KemarTiti](https://yyz2.discourse-cdn.com/flex034/user_avatar/dev-forum.pyth.network/kemartiti/32/6_2.png) [@KemarTiti](https://dev-forum.pyth.network/u/KemarTiti)\
**Post date:** [September 27, 2026, 11:09pm UTC](https://dev-forum.pyth.network/t/how-can-i-revoke-or-rotate-an-exposed-pyth-api-key/842/2 "2026-09-27T23:09:42Z")

</div>

There’s no way to do that for now.

Please email at [data@dourolabs.xyz](mailto:data@dourolabs.xyz) with all the details, will take care of you there
