Method: updateAuthCredentialEx

Update command line interface credentials. This operation is similar to updateAuthCredential, but returns a verbose message.

Parameters

Name Type Description
username string Username for the credential
description string Brief description of the credential
loginPassword string Password for the credential
enablePassword string Enable password for the credential
configurationPassword string Configuration password for the credential
type string Type of login session, available options are:
-SSH
-Telnet

Returns

Returns a NsWsResult with a structure defined by the following table.

Name Type Description
errorCode int See the Web Service Error Codes
errorMessage string Error message in readable text
success boolean True if operation is successful

Example

Execute the following web service with a browser:

https://192.168.30.34:8443/axis/services/NetSightDeviceWebService/updateAuthCredentialEx?username=admin&description=Extreme-Switch&loginPassword=login&enablePassword=enable&configurationPassword=config&type=Telnet