<?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: Remove member from a group via &amp;quot;add host&amp;quot; comment in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158628#M7168</link>
    <description>&lt;P&gt;The field "set-if-exists" is used which makes it a set-host command and not add-host.&lt;/P&gt;</description>
    <pubDate>Sun, 02 Oct 2022 19:23:02 GMT</pubDate>
    <dc:creator>Omer_Kleinstern</dc:creator>
    <dc:date>2022-10-02T19:23:02Z</dc:date>
    <item>
      <title>Remove member from a group via "add host" comment</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158420#M7154</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm testing a csv files to modify multiple host by "add host" comments.&lt;BR /&gt;ex : mgmt_cli add host -b test.scv&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/17967iC9B8CE27179A3995/image-size/large?v=v2&amp;amp;px=999" role="button" title="P1.jpg" alt="P1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I agree that I need to create the group first.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the csv file can be run.&lt;BR /&gt;but If I want to modify a host let it remove from a group.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P2.jpg" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/17968iBE639659BCDC7F55/image-size/large?v=v2&amp;amp;px=999" role="button" title="P2.jpg" alt="P2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which "character" I need to fill in group column ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like only can run A group move to B group.&lt;/P&gt;&lt;P&gt;Any suggestion ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;put&amp;nbsp;"Double quotes" in the comments column that can remove the comments contents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 09:02:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158420#M7154</guid>
      <dc:creator>vavava</dc:creator>
      <dc:date>2022-09-29T09:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Remove member from a group via "add host" comment</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158427#M7156</link>
      <description>&lt;P&gt;You cannot remove an object from the group this way. You can probably remove objects from a group by using set group command.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 10:35:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158427#M7156</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-09-29T10:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Remove member from a group via "add host" comment</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158448#M7157</link>
      <description>&lt;P&gt;You can use the &lt;STRONG&gt;set group&lt;/STRONG&gt; command or &lt;STRONG&gt;set host&lt;/STRONG&gt; commands&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-group~v1.8%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-group~v1.8%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-host~v1.8%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-host~v1.8%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;More&lt;/STRONG&gt; section&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 13:15:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158448#M7157</guid>
      <dc:creator>Tal_Paz-Fridman</dc:creator>
      <dc:date>2022-09-29T13:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Remove member from a group via "add host" comment</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158465#M7158</link>
      <description>&lt;P&gt;If you're importing the second CSV with the cli command&amp;nbsp;&lt;SPAN&gt;mgmt_cli add host -b test.scv, that's not going to work as it is not possible to change an object's group by using the "add-host" API endpoint.&lt;BR /&gt;You would need a differently constructed CSV for this purpose as well as a different command (e.g. mgmt_cli set host -b test.csv).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 15:04:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158465#M7158</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-09-29T15:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Remove member from a group via "add host" comment</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158477#M7159</link>
      <description>&lt;P&gt;that right, it works.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 00:20:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158477#M7159</guid>
      <dc:creator>vavava</dc:creator>
      <dc:date>2022-09-30T00:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Remove member from a group via "add host" comment</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158482#M7161</link>
      <description>&lt;P&gt;I just test it again by demo mode (R81.10)&lt;BR /&gt;It works for "change group" via add-host comment by a csv file.&lt;BR /&gt;I think that is why I want to remove a members(host) from a group (Does not belong anyone) through add-host comments with a csv file.&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P3.jpg" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/17972i1606D32D310A666C/image-size/large?v=v2&amp;amp;px=999" role="button" title="P3.jpg" alt="P3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the Audit log show as below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P5.jpg" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/17973i4BD820A8C5E0225C/image-size/large?v=v2&amp;amp;px=999" role="button" title="P5.jpg" alt="P5.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P4.jpg" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/17974i028DAA511BA7F347/image-size/large?v=v2&amp;amp;px=999" role="button" title="P4.jpg" alt="P4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 01:27:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158482#M7161</guid>
      <dc:creator>vavava</dc:creator>
      <dc:date>2022-09-30T01:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Remove member from a group via "add host" comment</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158621#M7167</link>
      <description>&lt;P&gt;That seems like unexpected behavior (changing a group membership via add host).&lt;BR /&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37502"&gt;@Omer_Kleinstern&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Sun, 02 Oct 2022 17:22:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158621#M7167</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-10-02T17:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Remove member from a group via "add host" comment</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158628#M7168</link>
      <description>&lt;P&gt;The field "set-if-exists" is used which makes it a set-host command and not add-host.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Oct 2022 19:23:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158628#M7168</guid>
      <dc:creator>Omer_Kleinstern</dc:creator>
      <dc:date>2022-10-02T19:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Remove member from a group via "add host" comment</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158808#M7174</link>
      <description>&lt;P&gt;I'll try it on&amp;nbsp;CheckMates-Labs later.&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2022 08:40:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158808#M7174</guid>
      <dc:creator>vavava</dc:creator>
      <dc:date>2022-10-05T08:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Remove member from a group via "add host" comment</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158880#M7178</link>
      <description>&lt;P&gt;I launch a Lab to testing again, the testing result show as before.&lt;/P&gt;&lt;P&gt;the comment "add host" with a csv file could move object from groupA to groupB&lt;/P&gt;&lt;P&gt;[A&amp;amp;B gruop need exist first]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 07:54:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Remove-member-from-a-group-via-quot-add-host-quot-comment/m-p/158880#M7178</guid>
      <dc:creator>vavava</dc:creator>
      <dc:date>2022-10-06T07:54:37Z</dc:date>
    </item>
  </channel>
</rss>

