<?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: Having trouble deleting identities.conf file using API (Error: authentication failed/ method not allowed). in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Having-trouble-deleting-identities-conf-file-using-API-Error/m-p/464283#M80067</link>
    <description>&lt;P&gt;or is there a way we can delete any conf file using api call which Splunk recognizes? as I am creting it using API call and during deletion, we can manually delete the file and do a splunk restart as a work around, but would be helpful to understand if there is any better way?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 25 May 2020 22:48:50 GMT</pubDate>
    <dc:creator>test_splunk15</dc:creator>
    <dc:date>2020-05-25T22:48:50Z</dc:date>
    <item>
      <title>Having trouble deleting identities.conf file using API (Error: authentication failed/ method not allowed).</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Having-trouble-deleting-identities-conf-file-using-API-Error/m-p/464282#M80066</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I am trying to use below command to delete the &lt;CODE&gt;identities.conf&lt;/CODE&gt; file &lt;CODE&gt;/opt/splunk/etc/apps/splunk_app_db_connect/local&lt;/CODE&gt;, however I am getting authentication failed/method not allowed.&lt;/P&gt;
&lt;P&gt;What is the exact syntax to delete this &lt;CODE&gt;.conf&lt;/CODE&gt; file using API?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;curl -k -u  admin:password --request DELETE &lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/identities" target="test_blank"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/identities&lt;/A&gt; -d \"{\"name\":\"user\",\"username\":\"appusername\",\"password\":\"apppassword\"}\"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;also tried without passing -d parameters.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;{"code":405,"message":"HTTP 405 Method Not Allowed"}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 Jun 2020 01:41:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Having-trouble-deleting-identities-conf-file-using-API-Error/m-p/464282#M80066</guid>
      <dc:creator>test_splunk15</dc:creator>
      <dc:date>2020-06-07T01:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Having trouble deleting identities.conf file using API (Error: authentication failed/ method not allowed).</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Having-trouble-deleting-identities-conf-file-using-API-Error/m-p/464283#M80067</link>
      <description>&lt;P&gt;or is there a way we can delete any conf file using api call which Splunk recognizes? as I am creting it using API call and during deletion, we can manually delete the file and do a splunk restart as a work around, but would be helpful to understand if there is any better way?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 22:48:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Having-trouble-deleting-identities-conf-file-using-API-Error/m-p/464283#M80067</guid>
      <dc:creator>test_splunk15</dc:creator>
      <dc:date>2020-05-25T22:48:50Z</dc:date>
    </item>
  </channel>
</rss>

