Can we update roles in elasticsearch?

I can setup roles in Elasticsearch , but I want to update privilege on one of my index for a specific role. Can we update role or we have to set new rule. If we have to set new rule then, how can we update existing user for that role


I moved this over to x-pack, as this is a not an Elasticsearch question.

Answer: You can update a role by just storing it again.

Hope this helps.


thanks, I was sending POST request. I changed to PUT and it worked

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.