Getting Data In

how to change user password using rest url without using curl command?

srinathd
Contributor

how to change user password using rest url without using curl command?

0 Karma

somesoni2
SplunkTrust
SplunkTrust

You can change it like this:

curl -k -u admin:changeme https://localhost:8089/services/authentication/users -d name=User1 -d password=changeme -d roles=admin

More details here
http://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTaccessExamples

0 Karma

srinathd
Contributor

I am looking for rest url (post) to change the password, instead of using curl command. With curl command i am able to do it. Thanks for your reply.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...