You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.
fschoeppl edited this page Aug 28, 2012
·
3 revisions
To access the keyserver, you might want to use the classes found in python-tests/keyserver to directly invoke REST calls.
An example can be found in DeleteUsers.py
from REST import Comm
com = Comm()
com.request("DELETE", "/users/1"); #delete user with id 1
Resetting the keyserver database from python
cd python-tests/keyserver
# make sure RESTConfig.py contains the correct SERVER address (e.g. 127.0.0.1)
python -m unittest DeleteUsers