openml / openml/OpenML

Delete user via API

Open
#846 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.