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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...