API to create application and add access profile

Hi @PratithShetty,

Currently, there are only “cc” API endpoints to create and update application. Below are the API endpoints for your requirement:

  1. Create an application:

    • API url: https://<<tenan_namet>>.api.identitynow.com/cc/api/app/create

    • Method: POST

    • Body:

{
   "name" : "<<App_name>>",
   "description" : "<<App_description>>"
}
* Once app is created, save the application id received in the response
  1. Assign source, add access profiles and enable application for request:
  • API url: https://<<tenant_name>>.api.identitynow.com/cc/api/app/update/<<application_id>>

  • Method: POST

  • Body:

{
    "accountServiceId": "<<source_cloudexternalId>>",
    "launchpadEnabled": "true",
    "provisionRequestEnabled": "true",
    "accountServiceMatchAllAccounts":"true",
    "accessProfileIds": ["Access_Profile1_Id","Access_Profile2_Id",..."Access_Profilen_Id"]
}
  • To assign source to app, make a get source API call and save the value in “cloudExternalId” and place that value in “accountServiceId” attribute in the above update app json body

Thank you.
Regards,
Shanmukh

6 Likes