<?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: Disable/Enable Integration Instance via API in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/disable-enable-integration-instance-via-api/m-p/547387#M2272</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/169502"&gt;@mikeahrendt&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;It seems that&amp;nbsp;&lt;STRONG&gt;errOptimisticLock&amp;nbsp;&lt;/STRONG&gt;complains about the integration version, which changes every time you modify the integration. Please make sure that you provide the current version number, which seems to be 7, when you execute the API request.&lt;BR /&gt;&lt;BR /&gt;I hope this answers your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2023 08:56:31 GMT</pubDate>
    <dc:creator>gyldz</dc:creator>
    <dc:date>2023-06-27T08:56:31Z</dc:date>
    <item>
      <title>Disable/Enable Integration Instance via API</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/disable-enable-integration-instance-via-api/m-p/547031#M2269</link>
      <description>&lt;P&gt;Can anyone provide an example of the API request they're utilizing to disable or enable an instance for an Integration via the CORE API?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Everything I've tried results in 400 error with this message:&lt;BR /&gt;&lt;SPAN&gt;"id": "errOptimisticLock",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"status": 400,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"title": "Optimistic lock error",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"detail": "Optimistic lock error",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"error": "DB Version '7' and Insert version '3' do not match for id: 367f530a-39c7-4252-8d39-23cb17e4ccfb on bucket [modules] [moduleInstances] (15)",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"encrypted": false,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"multires": null&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Currently attempting to perform a PUT via the /settings/integration endpoint with the instance configuration JSON essentially changing enabled from true to false for which I need (shortened example pictured below).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mikeahrendt_0-1687536527716.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/51113i2EF684B33845F005/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="mikeahrendt_0-1687536527716.png" alt="mikeahrendt_0-1687536527716.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 16:10:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/disable-enable-integration-instance-via-api/m-p/547031#M2269</guid>
      <dc:creator>mikeahrendt</dc:creator>
      <dc:date>2023-06-23T16:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Disable/Enable Integration Instance via API</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/disable-enable-integration-instance-via-api/m-p/547387#M2272</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/169502"&gt;@mikeahrendt&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;It seems that&amp;nbsp;&lt;STRONG&gt;errOptimisticLock&amp;nbsp;&lt;/STRONG&gt;complains about the integration version, which changes every time you modify the integration. Please make sure that you provide the current version number, which seems to be 7, when you execute the API request.&lt;BR /&gt;&lt;BR /&gt;I hope this answers your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 08:56:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/disable-enable-integration-instance-via-api/m-p/547387#M2272</guid>
      <dc:creator>gyldz</dc:creator>
      <dc:date>2023-06-27T08:56:31Z</dc:date>
    </item>
  </channel>
</rss>

