Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This should return the following which indicates that the currently logged in user now has the ADMIN role:

Anchor
cli
cli
Using the command line for no UI Linux deployments

If you have deployed the Dashboards/RestAPI in a Linux environment without a UI, then you can use curl to perform the BECOME ADMIN action using the following command line:

...

Code Block
curl -X PUT -u cast:cast http://localhost:8088/rest/user/admin-role 


Info

If you are using the Standalone Dashboards for Docker deployment, then you will need to run this command from within the Docker container itself. To enter the container use the following command:

docker exec -it <id|name of your container>

What next?

When the BECOME ADMIN action has been completed, you should then log in to the Dashboard and grant roles to other users as necessary for your deployment - see User roles.