Skip to content

Commit

Permalink
Update remove-users-orm.rst
Browse files Browse the repository at this point in the history
As mentioned in #5076 (comment)
  • Loading branch information
moschlar authored Oct 2, 2023
1 parent 63ea48b commit c393f37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/admins/howto/remove-users-orm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ You can run the script on your own device. The script depends on the `jhub_clien
#. Run `python scripts/delete-unused-users.py {hub_url}`

The script currently does not paginate properly, meaning that it operates on the first 200 users provided by the hub. If there are less then 200 active users it is sufficient to keep running the script in a loop until all inactive users are removed. If there are more than 200 active users this procedure will be inadequate. (the script needs to be fixed!)

In the meantime, another script that supports pagination and therefore more than 200 users can be
found at https://discourse.jupyter.org/t/is-there-a-way-to-bulk-delete-old-users/20866/3.

0 comments on commit c393f37

Please sign in to comment.