I created an unwanted account by accident. Is there a way to delete cryoSPARC users now?
@Jerry How about cryosparcm cli "delete_user(...)"
? For an example of a properly quoted cryosparcm cli
command, please refer to the top of the guide page.
Please clarify the exact syntax of the command.
cryosparcm cli “delete_user (email:test@test.org, requesting_user_email:XXX, requesting_user_password:XXX”
Traceback (most recent call last):
File “/home/sparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/runpy.py”, line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/home/sparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “/home/sparc/cryosparc_master/cryosparc_compute/client.py”, line 59, in
print(eval(“cli.” + command))
File “”, line 1
cli.delete_user (email:test@test.org, requesting_user_email:XXX, requesting_user_password:XXX
^
SyntaxError: invalid syntax
-bash-4.2$ cryosparcm cli “delete_user (email test@test.org, requesting_user_email XXX, requesting_user_password XXX”
Traceback (most recent call last):
File “/home/sparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/runpy.py”, line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/home/sparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “/home/sparc/cryosparc_master/cryosparc_compute/client.py”, line 59, in
print(eval(“cli.” + command))
File “”, line 1
cli.delete_user (email test@test.org, requesting_user_email XXX, requesting_user_password XXX
^
SyntaxError: invalid syntax
The str
words in the command’s documentation indicate that each of the three parameters is a (python) string. For example:
cryosparcm cli "delete_user('formeruser@example.com', 'admin@example.com', 'Ai.qu_a4Teic')"
Thank you very much!