cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
802
Views
0
Helpful
1
Replies

Problem trying to delete an admin user using API commands

CJones22060
Level 1
Level 1

I am supporting several SX80, WebEx Pro, and WebEx Plus codecs, all running either ce9.9 or ce9.15 software.  I have a situation where I need to get in and remove a bunch of *admin* user accounts that were created during setup. This is for a government facility, where DIA controls the admin login, and us VTC engineers created a separate account to get in if needed. We now need to remove the extra admin user accounts, and we can't log into the admin account without DIA's password to delete the other user account, and DIA doesn't have the password for our account to delete the extra account. It doesn't let you delete the account you are currently logged into, so we can't do it from the web interface without doing a factory reset, which we are trying to avoid

.

We are using Crestron control systems, login required is set to off, and we can send any commands we want that way. When I send the command:

xCommand UserManagement User Delete Username: "example.user" YourPassphrase: "examplepassword123!"

it keeps responding with:

*r UserDeleteResult (status=Error):

*r UserDeleteResult Reason: "Could not validate your username and passphrase" **end

 

I've tried the command with and without the quotes around username and yourpassphrase, and I've tried the other command that modifies the user to try to remove the admin status with this command:

xCommand UserManagement User Modify RemoveRole: Admin Username: "example.user" YourPassphrase: "examplepassword123!"

But I get the same error as above.

I noticed that on the web interface, to delete another admin account, you have to put in your passphrase, and the passphrase of the other account, but I don't see that option to put in the 2 different passcodes in the command.

 

Any help is appreciated!

1 Accepted Solution

CJones22060
Level 1
Level 1

Finally figured it out! For the command to work, you have to have the password of the other account, so YourPassphrase has to be the password of the admin account, so in my case, either DIA has to delete it with their password, or I have to factory reset it.

View solution in original post

1 Reply 1

CJones22060
Level 1
Level 1

Finally figured it out! For the command to work, you have to have the password of the other account, so YourPassphrase has to be the password of the admin account, so in my case, either DIA has to delete it with their password, or I have to factory reset it.