- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
CDM change admin password using rest api
- Labels:
-
Cloudera Manager
Created on 06-17-2016 02:25 AM - edited 09-16-2022 03:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to change the Cloudera manager admin password using the rest api?
how to do it?
I'm using CDM 5.7
Created 06-17-2016 05:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's an example;
$ curl -v -X PUT -u admin:admin -H 'Content-Type:application/json' -d '{ "password" : "new_password" }' 'http://cm.example.com:7180/api/v12/users/type_the_username_here'
[1] https://cloudera.github.io/cm_api/apidocs/v12/ns0_apiUser.html
Created 06-17-2016 05:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's an example;
$ curl -v -X PUT -u admin:admin -H 'Content-Type:application/json' -d '{ "password" : "new_password" }' 'http://cm.example.com:7180/api/v12/users/type_the_username_here'
[1] https://cloudera.github.io/cm_api/apidocs/v12/ns0_apiUser.html
