I tried that link but got error 404 - my last 3 updated lines are:
url ="/servicesNS/nobody/system/{0}/acl".format(my_saved_search_name)
Note: since i created alert via splunklib , it got created with -- owner=nobody, app=system and sharing=global
params: {'sharing':'app'}
sendrequest (params, server, url)
Also, I tried java code example from below link, but not sure how do i use kwargs here in python :
https://answers.splunk.com/answers/143030/sharing-an-object-to-an-app-and-modifying-its-permission-using-java-sdk.html
tried other several links from this blog - able to ran few of it in python but don't see any change in splunk UI.
... View more