<?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: Create a Cpmi User with Checkpoint API in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-a-Cpmi-User-with-Checkpoint-API/m-p/100805#M5281</link>
    <description>&lt;P&gt;There are formal API calls for this in the latest R80.30/R80.40 JHF as well as R81.&lt;BR /&gt;See:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/changelog~v1.6.1" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/changelog~v1.6.1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you don't want to upgrade, have a look at this thread, which explains how to do it:&amp;nbsp;&lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/Add-new-user-and-assign-to-an-existing-group-using-the-generic/m-p/39687" target="_blank"&gt;https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/Add-new-user-and-assign-to-an-existing-group-using-the-generic/m-p/39687&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2020 05:50:32 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2020-11-02T05:50:32Z</dc:date>
    <item>
      <title>Create a Cpmi User with Checkpoint API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-a-Cpmi-User-with-Checkpoint-API/m-p/100755#M5278</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a CPMI user from the Checkpoint API using postman.&lt;/P&gt;&lt;P&gt;I didn't find anything on the documentation for CPMI User and CPMI User groups but i could find something about generic-objects on forums. When i search for generic-objects on the documentation, i still don't find it.&lt;/P&gt;&lt;P&gt;I tried something like this with generic-object to create a user:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://{{sms_ip}}/{{base_url}}/add-generic-object

{
    "name": "jdoe",
    "create": "com.checkpoint.objects.classes.dummy.CpmiUser",
    "authMethod": "INTERNAL_PASSWORD",
    "internalPassword": "jdoe1"
}&lt;/LI-CODE&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;The user is created but when i try to log in on the Check Point portal, it doesn't work. It has authentication errors.&lt;/P&gt;&lt;P&gt;However, if i create the same username and password manually on the SMS, it works.&lt;/P&gt;&lt;P&gt;Any idea why on the API it's not working ? Am i doing something wrong ?&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 06:12:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-a-Cpmi-User-with-Checkpoint-API/m-p/100755#M5278</guid>
      <dc:creator>mervin16</dc:creator>
      <dc:date>2020-11-01T06:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Cpmi User with Checkpoint API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-a-Cpmi-User-with-Checkpoint-API/m-p/100765#M5279</link>
      <description>&lt;P&gt;I think add-generic-object it's a deprecated call, since I can only find related things for it in v1/1.1 of the API.&lt;/P&gt;
&lt;P&gt;Did you publish after adding it ?&lt;/P&gt;
&lt;P&gt;What API version are you running on your SMS ?&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 07:39:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-a-Cpmi-User-with-Checkpoint-API/m-p/100765#M5279</guid>
      <dc:creator>funkylicious</dc:creator>
      <dc:date>2020-11-01T07:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Cpmi User with Checkpoint API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-a-Cpmi-User-with-Checkpoint-API/m-p/100805#M5281</link>
      <description>&lt;P&gt;There are formal API calls for this in the latest R80.30/R80.40 JHF as well as R81.&lt;BR /&gt;See:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/changelog~v1.6.1" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/changelog~v1.6.1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you don't want to upgrade, have a look at this thread, which explains how to do it:&amp;nbsp;&lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/Add-new-user-and-assign-to-an-existing-group-using-the-generic/m-p/39687" target="_blank"&gt;https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/Add-new-user-and-assign-to-an-existing-group-using-the-generic/m-p/39687&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 05:50:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-a-Cpmi-User-with-Checkpoint-API/m-p/100805#M5281</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-11-02T05:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Cpmi User with Checkpoint API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-a-Cpmi-User-with-Checkpoint-API/m-p/100806#M5282</link>
      <description>&lt;P&gt;generic-object calls are not deprecated per-se, but they are not formally documented or supported.&lt;BR /&gt;generic-object calls can be used in a handful of situations where a formal API does not exist.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 20:54:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-a-Cpmi-User-with-Checkpoint-API/m-p/100806#M5282</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-11-01T20:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Cpmi User with Checkpoint API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-a-Cpmi-User-with-Checkpoint-API/m-p/100866#M5284</link>
      <description>&lt;P&gt;Thank you so much! I've been looking for this for a while now. Appreciate the help.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 09:56:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-a-Cpmi-User-with-Checkpoint-API/m-p/100866#M5284</guid>
      <dc:creator>mervin16</dc:creator>
      <dc:date>2020-11-02T09:56:23Z</dc:date>
    </item>
  </channel>
</rss>

