Flagsmith / Flagsmith/flagsmith

Cancel the API Key when an environment is deleted

Open
#3,113 3 comments 0 reactions 1 assignee Claimed by @dabeeeenster View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.