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
Revered Legend

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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Improve Delivery Assurance with S2S ACK for Edge Processor

Edge Processor helps Splunk customers process data closer to the source: filtering, transforming, masking, and ...

.conf26 Platform Sessions: Turn Machine Data into Agentic Action

As autonomous agents and multi-cloud architectures reshape modern IT, data platforms have to do far more than ...

Introducing the Launch of Edge Processor in Hybrid Mode!

Modernize Data Ingestion Without Starting Over  For years, organizations have relied on Splunk's proven ...