API to create application and add access profile

Team,

I am creating an automation to bulk upload access profile to an application. I am looking for API’s which do the below

  1. Create an application and assign a source
  2. Add Access profiles created to the application
  3. Enable application for Request by users.

If any leads please do let me know.

Thanks

1 Like

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

5 Likes

Thanks! Will check this!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.