Member since
08-24-2015
14
Posts
0
Kudos Received
0
Solutions
07-12-2018
10:11 AM
1 Kudo
@VuSand3259, You can use this endpoint: https://cloudera.github.io/cm_api/apidocs/v19/path__users_-userName-.html using the PUT method via REST API allows you to update the user object defined here: https://cloudera.github.io/cm_api/apidocs/v19/ns0_apiUser.html For example, the following would make an existing user "mytestuser" a full administrator in CM 5.15 (you would need to use the api version that is right for your CM version): curl -u cm_user:cm_pass -H "Content-Type: application/json" -X PUT -d '{"roles" : [ "ROLE_ADMIN"]}' http://cm_host:7180/api/v19/users/mytestuser
... View more
11-29-2017
04:02 PM
1 Kudo
Hi @sijeesh kunnotharamal As per the Apache Knox project website, Phoenix is a supported service of Knox. http://knox.apache.org/ Specifically, see this section of the User's Guide: http://knox.apache.org/books/knox-0-13-0/user-guide.html#Avatica
... View more