In order to do administrative tasks using the API, JetStream has the concept of superusers. Superusers can be any users specified using the --superuser or --supergroup command line options, or the user that’s running the JetStream process (on Linux and macOS, this defaults to root, on Windows this is SYSTEM).

Once the user is connected to the server via API, they will need to upgrade their privileges using superuser() API call.

Some of the tasks a superuser is allowed to do include: