<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can we create a user with Splunk Rest API access? in Security</title>
    <link>https://community.splunk.com/t5/Security/Can-we-create-a-user-with-Splunk-Rest-API-access/m-p/110521#M3526</link>
    <description>&lt;P&gt;Yes, you definitely can. &lt;/P&gt;

&lt;H4&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/RESTREF/RESTaccess#authentication.2Fusers"&gt;Endpoint Description&lt;/A&gt;:&lt;/H4&gt;

&lt;PRE&gt;&lt;CODE&gt; &lt;A href="https://&amp;lt;host&amp;gt;:&amp;lt;mPort&amp;gt;/services/authentication/users" target="test_blank"&gt;https://&amp;lt;host&amp;gt;:&amp;lt;mPort&amp;gt;/services/authentication/users&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H4&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/RESTREF/RESTaccessExamples#authentication.2Fusers.2F.7Bname.7D_POST"&gt;Example&lt;/A&gt;:&lt;/H4&gt;

&lt;PRE&gt;&lt;CODE&gt; curl -k -u admin:changeme &lt;A href="https://localhost:8089/services/authentication/users" target="test_blank"&gt;https://localhost:8089/services/authentication/users&lt;/A&gt; -d name=User1 -d password=changeme -d roles=admin
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H4&gt;References:&lt;/H4&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTaccess#authentication.2Fusers"&gt;REST API Manual&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://answers.splunk.com/answers/95986/create-user-using-the-rest-api.html"&gt;This Answer&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;See line 51 of this &lt;A href="https://github.com/splunk/splunk-sdk-csharp/blob/master/UnitTests/UserTest.cs"&gt;gist&lt;/A&gt; written in C#. &lt;/LI&gt;
&lt;LI&gt;See &lt;A href="http://dev.splunk.com/view/php-sdk/SP-CAAAEJM"&gt;this page&lt;/A&gt; that has an example in the PHP SDK.&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Tue, 11 Nov 2014 22:56:52 GMT</pubDate>
    <dc:creator>aljohnson_splun</dc:creator>
    <dc:date>2014-11-11T22:56:52Z</dc:date>
    <item>
      <title>Can we create a user with Splunk Rest API access?</title>
      <link>https://community.splunk.com/t5/Security/Can-we-create-a-user-with-Splunk-Rest-API-access/m-p/110520#M3525</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
can we create user with Splunk Rest APIs access.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Seema&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2014 10:20:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-we-create-a-user-with-Splunk-Rest-API-access/m-p/110520#M3525</guid>
      <dc:creator>seema2502</dc:creator>
      <dc:date>2014-11-11T10:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can we create a user with Splunk Rest API access?</title>
      <link>https://community.splunk.com/t5/Security/Can-we-create-a-user-with-Splunk-Rest-API-access/m-p/110521#M3526</link>
      <description>&lt;P&gt;Yes, you definitely can. &lt;/P&gt;

&lt;H4&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/RESTREF/RESTaccess#authentication.2Fusers"&gt;Endpoint Description&lt;/A&gt;:&lt;/H4&gt;

&lt;PRE&gt;&lt;CODE&gt; &lt;A href="https://&amp;lt;host&amp;gt;:&amp;lt;mPort&amp;gt;/services/authentication/users" target="test_blank"&gt;https://&amp;lt;host&amp;gt;:&amp;lt;mPort&amp;gt;/services/authentication/users&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H4&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/RESTREF/RESTaccessExamples#authentication.2Fusers.2F.7Bname.7D_POST"&gt;Example&lt;/A&gt;:&lt;/H4&gt;

&lt;PRE&gt;&lt;CODE&gt; curl -k -u admin:changeme &lt;A href="https://localhost:8089/services/authentication/users" target="test_blank"&gt;https://localhost:8089/services/authentication/users&lt;/A&gt; -d name=User1 -d password=changeme -d roles=admin
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H4&gt;References:&lt;/H4&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTaccess#authentication.2Fusers"&gt;REST API Manual&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://answers.splunk.com/answers/95986/create-user-using-the-rest-api.html"&gt;This Answer&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;See line 51 of this &lt;A href="https://github.com/splunk/splunk-sdk-csharp/blob/master/UnitTests/UserTest.cs"&gt;gist&lt;/A&gt; written in C#. &lt;/LI&gt;
&lt;LI&gt;See &lt;A href="http://dev.splunk.com/view/php-sdk/SP-CAAAEJM"&gt;this page&lt;/A&gt; that has an example in the PHP SDK.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 11 Nov 2014 22:56:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-we-create-a-user-with-Splunk-Rest-API-access/m-p/110521#M3526</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2014-11-11T22:56:52Z</dc:date>
    </item>
  </channel>
</rss>

