Flagsmith / Flagsmith/flagsmith
Cancel the API Key when an environment is deleted
Open
- Dominant language
- Python
- Stars
- 6.6k
- Forks
- 567
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 121
Description
**Is your feature request related to a problem? Please describe.**
It is more of an oversight. Whenever an Environment is deleted within a project the API still returns calls if the key is provided.
**Describe the solution you'd like**
We should delete the API key along with the environment.
**Describe alternatives you've considered**
Maybe we want to wait for a period before deleting the API key or do a soft delete of sorts in the case the Env needs to be restored.
**Additional context**
NA
Contributor guide
Assessment
This issue has not been assessed yet.