Getting Data In

How can I create a role with the capability to delete Splunk apps through REST API?

ganesh_crms
New Member

Hi,
I wants to delete Splunk apps through REST API.
I don't want to use admin credentials in HTTPS request,Kindly suggest me a CAPABILITY to create new role that deletes splunk APPS through REST API.
TIA.

Thanks & Regards,
Ganesh

0 Karma
1 Solution

hardikJsheth
Motivator

You can try following steps:
1. Create new role
2. From Manage Apps assign write access to all the apps where you want to give modify rights.
3. Assign this role to your particular user.
4. Use this user in the REST calls.

With this approach we can allow user to make modification even without admin_all capability. I never got a chance to check delete operation but it's worth trying.

View solution in original post

0 Karma

hardikJsheth
Motivator

You can try following steps:
1. Create new role
2. From Manage Apps assign write access to all the apps where you want to give modify rights.
3. Assign this role to your particular user.
4. Use this user in the REST calls.

With this approach we can allow user to make modification even without admin_all capability. I never got a chance to check delete operation but it's worth trying.

0 Karma
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf24, and Community Connections

Thank you to everyone in the Splunk Community who joined us for .conf24 – starting with Splunk University and ...

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...