Is it possible to add a new admin user through the REST API as we can add a regular user?
And the second question is, can we get a list of all admin users through the REST API?
ATM:
Adding a new user has two possibilities:
-
run console command (all time I have to go on the production environment and do that manually there)
pi-manage admin add admin -e admin@localhost -
insert new record directly in the DB (manually on the production too)