Support Questions
Find answers, ask questions, and share your expertise

rest api to add user into existing ranger policy

I want to add user into ranger's policy whether it is hdfs , hive or hbase .

is there some rest api, I can execute the same and could add user into existing policy ?

Note : I am concerned after execution of rest api , user would not be overriding on all existing users , It should only addend the new user into policy .


You can first get the policy and add your changes and update the policy.

Refer below links for REST API documentation.


Hi thanks ,

Can you please suggest some rest api which directly append the user to particular policy for e.g. hdfs under some policy name .

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.