Assign user authorities through API or CMD

Hi All

By reorganizing my users, I did a mistake by unchecked all authorities for my Superuser and after saving, I realized none of my users has all privileges and also none of them can view the users App.

Please can anyone help me solve the issue?

I’m using DHIS2 230

Many thanks in advance.