shell.py command for updating api user permissions