How can i change the permissions of dynamically created Tags through REST API in Splunk?

时间:2016-04-04 18:10:50

标签: api rest permissions tags splunk

I am creating tags through REST endpoints,but the permission of the tags are private.To make them public,Is there any Endpoint services available through which i can change the permissions of tags which i have created. Currently i tried using this url with POST request with following data but it didn't work out for me https://localhost:8089/servicesNS/admin/search/search/tags/tag_name/acl -d sharing="app" -d perms.write="" -d perms.read=""

Any help is appreciated.I am currently using Splunk version 6.

1 个答案:

答案 0 :(得分:0)

最后得到了答案: 您可以通过以下URL和参数的POST请求来更新标记的权限:

https://localhost:8089/servicesNS/ks/search/saved/fvtags/tag_name/field%3Dvalue/acl -d owner="ks" -d sharing="app" -d perms.read="" -d perms.write=""