#Remove environment from Sentry issues
3 messages · Page 1 of 1 (latest)
Hi @digital hollow. I'm happy to dig into this for you! I'll check my internal sources for answers to your question! :wave:
Unfortunately, you cannot delete environments in Sentry, but you can hide them from the UI to solve your issue with the typo in your environment name.
To hide an environment:
- Go to Project Settings
- Navigate to Environments
- Select "Hide" for the environment with the typo
This will remove the environment from your dropdown list, though it's important to note that events sent to that environment will still count against your quota.
As stated in the Sentry documentation, "Since you can't delete environments, Sentry has an option to hide it from the UI. Hiding environments can be useful when you're no longer sending events from an environment, or you've accidentally created an environment you don't want." Environments Documentation
If a project is hidden, you won't see that environment in the environment selector, unless another project with events from the same environment is also selected and doesn't have it hidden in its project settings.