ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Sen <d...@hortonworks.com>
Subject Re: Do we have API for change password
Date Mon, 21 Mar 2016 14:32:15 GMT
It works for me:


curl -i -u admin:admin  'http://192.168.120.6:1081/api/v1/users/admin' -X PUT -H 'X-Requested-By:
ambari' --data-binary '{"Users/password":"newpasswd","Users/old_password":"admin"}'


BR,

Dmytro Sen


________________________________
From: Satyanarayana Jampa <sjampa@innominds.com>
Sent: Monday, March 21, 2016 7:59 AM
To: user@ambari.apache.org
Subject: Do we have API for change password

Hi,
  Just wondering if we have an API to change the Ambari password, instead of logging in and
changing the password.
  Actually I have a custom script which will take username and password as argument which
I have to use it for configuration before installing Ambari.

Thanks,
Satya.


Mime
View raw message