Changing the user password

Changing the user password

The user password is changed with the PUT /settings/readOnlyUser HTTP method and URI.

HTTP method and URI

To change the password for a read-only user, specify the user name and new password.

PUT /settings/readOnlyUser

Parameters:

  • password

Syntax

Basic syntax:

PUT /settings/readOnlyUser
	-d username=[a_name] 
	-d password=[new_password]

Curl request syntax:

curl -X PUT -u [admin]:[password] 
  http://[localhost]:8091/settings/readOnlyUser 
  -d password=[new-password] 

Example

Curl request example:

curl -X PUT -u Administrator:password 
  http://10.5.2.117:8091/settings/readOnlyUser 
  -d password=password2

Response

If successful, no response displays:

[]