<?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: Repository Service: DELETE /qrs/user/{id} returns 405 error in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Repository-Service-DELETE-qrs-user-id-returns-405-error/m-p/1620123#M11223</link>
    <description>&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;I get [{"id":"ae862dd0-da37-4e36-92bb-819843d01bc1","userId":"1","userDirectory":"MAHO-DEV","name":"Test Person","privileges":null}] back, and I assume that ae862dd0-da37-4e36-92bb-819843d01bc1 is the id to append to the path to DELETE that user. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Correct. That's the ID for the user.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;gt; If the above GET works, I shouldn't have to add any additional X-Qlik headers for DELETE to work, should I? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Nope. Standard headers&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2019 14:31:24 GMT</pubDate>
    <dc:creator>Levi_Turner</dc:creator>
    <dc:date>2019-09-04T14:31:24Z</dc:date>
    <item>
      <title>Repository Service: DELETE /qrs/user/{id} returns 405 error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Repository-Service-DELETE-qrs-user-id-returns-405-error/m-p/1619928#M11215</link>
      <description>&lt;P&gt;Has anyone managed to use the QRS REST API to delete a user? Or GET one, for that matter? I've managed to look up a specific user by userDirectory and userId via a filter parameter, but DELETE /qrs/user/{id}, where {id} is the UUID in the id property of the returned user object, returns 405, and GET /qrs/user/{id} returns 404. According to the API reference, those methods should be possible and I am using the right id, aren't I?&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/June2019/APIs/repositoryserviceapi/index.html?page=219" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense-developer/June2019/APIs/repositoryserviceapi/index.html?page=219&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(I'm exploring managing the user directories without setting up User Directory Connectors.)&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Repository-Service-DELETE-qrs-user-id-returns-405-error/m-p/1619928#M11215</guid>
      <dc:creator>millnet-maho</dc:creator>
      <dc:date>2024-11-16T20:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Repository Service: DELETE /qrs/user/{id} returns 405 error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Repository-Service-DELETE-qrs-user-id-returns-405-error/m-p/1620052#M11218</link>
      <description>&lt;P&gt;The 405 is very odd to the DELETE command. But it's also odd that you get a 404 for the GET command.&lt;/P&gt;
&lt;P&gt;Expected:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;GET /qrs/user/{id}
&lt;UL&gt;
&lt;LI&gt;Response: 200 with the body being the user's record&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;DELETE /qrs/user/{id}
&lt;UL&gt;
&lt;LI&gt;Response: 204&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If you can't do a GET then a DELETE will obviously fail. How are you getting the user's ID?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 13:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Repository-Service-DELETE-qrs-user-id-returns-405-error/m-p/1620052#M11218</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2019-09-04T13:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Repository Service: DELETE /qrs/user/{id} returns 405 error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Repository-Service-DELETE-qrs-user-id-returns-405-error/m-p/1620096#M11221</link>
      <description>&lt;P&gt;GET to /qrs/user?filter=...&amp;amp;Xrfkey=...&lt;/P&gt;&lt;P&gt;I get [{"id":"ae862dd0-da37-4e36-92bb-819843d01bc1","userId":"1","userDirectory":"MAHO-DEV","name":"Test Person","privileges":null}] back, and I assume that ae862dd0-da37-4e36-92bb-819843d01bc1 is the id to append to the path to DELETE that user. If the above GET works, I shouldn't have to add any additional X-Qlik headers for DELETE to work, should I? I'm not trying to delete an internal user or a user from the local Windows domain or anything either. I tried deleting the UDC but that didn't help.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 13:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Repository-Service-DELETE-qrs-user-id-returns-405-error/m-p/1620096#M11221</guid>
      <dc:creator>millnet-maho</dc:creator>
      <dc:date>2019-09-04T13:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Repository Service: DELETE /qrs/user/{id} returns 405 error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Repository-Service-DELETE-qrs-user-id-returns-405-error/m-p/1620123#M11223</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;I get [{"id":"ae862dd0-da37-4e36-92bb-819843d01bc1","userId":"1","userDirectory":"MAHO-DEV","name":"Test Person","privileges":null}] back, and I assume that ae862dd0-da37-4e36-92bb-819843d01bc1 is the id to append to the path to DELETE that user. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Correct. That's the ID for the user.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;gt; If the above GET works, I shouldn't have to add any additional X-Qlik headers for DELETE to work, should I? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Nope. Standard headers&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 14:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Repository-Service-DELETE-qrs-user-id-returns-405-error/m-p/1620123#M11223</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2019-09-04T14:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Repository Service: DELETE /qrs/user/{id} returns 405 error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Repository-Service-DELETE-qrs-user-id-returns-405-error/m-p/1620506#M11235</link>
      <description>&lt;P&gt;Sorry, I realised that I had dropped "/qrs" from the path in the DELETE while figuring out what headers are needed and what the id is. I had included it earlier. I got it to work now.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 11:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Repository-Service-DELETE-qrs-user-id-returns-405-error/m-p/1620506#M11235</guid>
      <dc:creator>millnet-maho</dc:creator>
      <dc:date>2019-09-05T11:47:38Z</dc:date>
    </item>
  </channel>
</rss>

