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!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...