<?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 Use Cisco FMC API to create user in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/use-cisco-fmc-api-to-create-user/m-p/5272216#M1120102</link>
    <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I am trying to create a user with the API. I can't find the scheme for the payload data with the api-explorer. I have tried different payload data like the following one without success... I am using Postman. The URL I used is&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{url}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/api/fmc_config/v1/domain/&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{domainUUID}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/users/users. I can pull users.&lt;/SPAN&gt;&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;{
    "type": "User",
    "username": "testuser",
    "roles": [
        {
            "name": "Administrator",
            "id": "xxxx-xxx-xx-xxx-xxxxxx",
            "type": "AuthRole",
        }
    ],
    "email": "xxx@xxx.com",
    "enabled": true
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting this error:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "error": {
        "category": "OTHER",
        "messages": [
            {
                "description": "Wildcard string cannot be null or empty. Make sure permission strings are properly formatted."
            }
        ],
        "severity": "ERROR"
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Would appreciate it if you could point out where I did wrong. Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 17 Mar 2025 22:00:33 GMT</pubDate>
    <dc:creator>Difan_Zhao</dc:creator>
    <dc:date>2025-03-17T22:00:33Z</dc:date>
    <item>
      <title>Use Cisco FMC API to create user</title>
      <link>https://community.cisco.com/t5/network-security/use-cisco-fmc-api-to-create-user/m-p/5272216#M1120102</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I am trying to create a user with the API. I can't find the scheme for the payload data with the api-explorer. I have tried different payload data like the following one without success... I am using Postman. The URL I used is&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{url}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/api/fmc_config/v1/domain/&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{domainUUID}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/users/users. I can pull users.&lt;/SPAN&gt;&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;{
    "type": "User",
    "username": "testuser",
    "roles": [
        {
            "name": "Administrator",
            "id": "xxxx-xxx-xx-xxx-xxxxxx",
            "type": "AuthRole",
        }
    ],
    "email": "xxx@xxx.com",
    "enabled": true
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting this error:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "error": {
        "category": "OTHER",
        "messages": [
            {
                "description": "Wildcard string cannot be null or empty. Make sure permission strings are properly formatted."
            }
        ],
        "severity": "ERROR"
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Would appreciate it if you could point out where I did wrong. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 22:00:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/use-cisco-fmc-api-to-create-user/m-p/5272216#M1120102</guid>
      <dc:creator>Difan_Zhao</dc:creator>
      <dc:date>2025-03-17T22:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Use Cisco FMC API to create user</title>
      <link>https://community.cisco.com/t5/network-security/use-cisco-fmc-api-to-create-user/m-p/5272510#M1120106</link>
      <description>&lt;P&gt;What version FMC are you running?&lt;/P&gt;
&lt;P&gt;From what I can see in FMC 7.4.2.2 there is no option to create a user using API, you are only able to "GET" information about users.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 13:28:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/use-cisco-fmc-api-to-create-user/m-p/5272510#M1120106</guid>
      <dc:creator>Marius Gunnerud</dc:creator>
      <dc:date>2025-03-18T13:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Use Cisco FMC API to create user</title>
      <link>https://community.cisco.com/t5/network-security/use-cisco-fmc-api-to-create-user/m-p/5272546#M1120108</link>
      <description>&lt;P&gt;Hi Marius, I am on&amp;nbsp;&lt;SPAN&gt;Version&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;7.4.2.1 (build 30). I didn't see it in the API explorer too and I was hoping that it is merely just missed... Could you confirm that this is not a supported feature? Besides API, is there another way to do bulk user creation? Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 14:39:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/use-cisco-fmc-api-to-create-user/m-p/5272546#M1120108</guid>
      <dc:creator>Difan_Zhao</dc:creator>
      <dc:date>2025-03-18T14:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Use Cisco FMC API to create user</title>
      <link>https://community.cisco.com/t5/network-security/use-cisco-fmc-api-to-create-user/m-p/5272567#M1120110</link>
      <description>&lt;P&gt;As of FMC version 7.7 there is no option to add users via API.&amp;nbsp; So the only way to add local users is through the GUI.&amp;nbsp; Optionally integrate the FMC with a remote authentication server...i.e. AD.&lt;/P&gt;
&lt;NAV class="related-links" role="navigation"&gt;
&lt;UL class="ullinks"&gt;
&lt;LI class="link ulchildlink"&gt;&amp;nbsp;GET authroles&lt;/LI&gt;
&lt;LI class="link ulchildlink"&gt;&amp;nbsp;GET duoconfigs&lt;/LI&gt;
&lt;LI class="link ulchildlink"&gt;&amp;nbsp;PUT duoconfigs&lt;/LI&gt;
&lt;LI class="link ulchildlink"&gt;&amp;nbsp;GET SSO Config&lt;/LI&gt;
&lt;LI class="link ulchildlink"&gt;&amp;nbsp;PUT SSO Config&lt;/LI&gt;
&lt;LI class="link ulchildlink"&gt;&amp;nbsp;GET users&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/security/firepower/770/API/REST/secure_firewall_management_center_rest_api_quick_start_guide_770/Objects_In_The_REST_API.html#Cisco_Concept.dita_f634c54c-ad6e-425b-b33a-181d21e69f5e" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/security/firepower/770/API/REST/secure_firewall_management_center_rest_api_quick_start_guide_770/Objects_In_The_REST_API.html#Cisco_Concept.dita_f634c54c-ad6e-425b-b33a-181d21e69f5e&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/NAV&gt;</description>
      <pubDate>Tue, 18 Mar 2025 15:18:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/use-cisco-fmc-api-to-create-user/m-p/5272567#M1120110</guid>
      <dc:creator>Marius Gunnerud</dc:creator>
      <dc:date>2025-03-18T15:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Use Cisco FMC API to create user</title>
      <link>https://community.cisco.com/t5/network-security/use-cisco-fmc-api-to-create-user/m-p/5272606#M1120113</link>
      <description>&lt;P&gt;Hi Marius, I am actually trying to create remote users and not local ones. We use the Cisco ISE as the remote authentication server and we use Radius as the protocol because it is the only one supported. However, as far as I know, you still need to create individual users, check box "Use External Authentication Method", and assigna roles... I have attached a screenshot for what we usually do with the GUI. Is there a better way to do that? Thanks!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-03-18 103407.png" style="width: 497px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/241956i90126ECC4476E1E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-03-18 103407.png" alt="Screenshot 2025-03-18 103407.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 16:40:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/use-cisco-fmc-api-to-create-user/m-p/5272606#M1120113</guid>
      <dc:creator>Difan_Zhao</dc:creator>
      <dc:date>2025-03-18T16:40:27Z</dc:date>
    </item>
  </channel>
</rss>

