Delete user via API
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 755
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
We can't delete users via the API yet.
There is an older implemented here:
https://github.com/openml/OpenML/blob/3f7c58dfe37e0e725242aa8551dc639c06d163ae/openml_OS/models/api/v1/Api_user.php#L30
I guess the main question is what to do with the user's runs, datasets, flows that she didn't remove.
I think we can keep them, linked to the user id, except that that user id then points to a deleted account?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the older implementation in openml_OS/models/api/v1/Api_user.php at the linked commit. Then trace the current user API and how runs, datasets, and flows reference user IDs. The work is complete when user deletion is exposed through the API and the handling of those associated records is explicitly defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100