Layer7 API Management

 View Only
  • 1.  IIP User creation through REST API call

    Posted Apr 04, 2020 05:13 AM
    we have a requirement to create/update/delete one or more internal identity provider users through REST API service. This rest service we can call from postman or any other tool. Please share the details if it is possible.

    ------------------------------
    Technology Lead
    Infosys Limited
    ------------------------------


  • 2.  RE: IIP User creation through REST API call
    Best Answer

    Broadcom Employee
    Posted Apr 05, 2020 02:32 AM
    Use the User resource in Restman.

    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-gateway/9-4/apis-and-toolkits/rest-management-api.html 

    The basic request object is the l7:User element (per the documentation):

    <l7:User>
    <l7:Login>testuser</l7:Login>
    <l7:FirstName/>
    <l7:LastName/>
    <l7:Email/>
    <l7:Properties>
    <l7:Property key="accountExpiration">
    <l7:LongValue>-1</l7:LongValue>
    </l7:Property>
    <l7:Property key="enabled">
    <l7:BooleanValue>true</l7:BooleanValue>
    </l7:Property>
    <l7:Property key="name">
    <l7:StringValue>testuser</l7:StringValue>
    </l7:Property>
    </l7:Properties>
    </l7:User>

    ------------------------------
    Jay MacDonald - Adoption Architect - Broadcom API Management (Layer 7)
    ------------------------------



  • 3.  RE: IIP User creation through REST API call

    Posted Apr 07, 2020 03:32 AM
    Thanks Jay!

    Can I call this user creation REST api from external java application ? My java application make a call to this rest api and create user with credentials in IIP.

    ------------------------------
    Technology Lead
    Infosys Limited
    ------------------------------