Flagsmith / Flagsmith/flagsmith

Support bulk deletion of stale identities

Open
#291 1 comment 0 reactions 2 assignees Claimed by @gagantrivedi View on GitHub
api feature
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

As time passes a project/environment will accumulate identities. A lot of these identities may have gone unused for a long time and is no longer relevant/can be considered unused. It would be helpful if these could be deleted.

I've not looked too much into the source code, but this would at least require:

1. Adding a new API end point for deleting identities in bulk (payload being a JSON array?)
2. Adding a new 'lastSeen' timestamp or similar field to the identity model and presenting this info in the API

A current workaround is to use traits to upload the timestamp.

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.