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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...