API for public apps

Hi, hopefully a simple question. I am able to add a custom app using the guidance provided here - https://developer.okta.com/docs/reference/api/apps/#getting-started. However, how do i go about using an API to automate modifying some attributes for a built in app like Office 365? Any guidance is appreciated. Thanks,

https://developer.okta.com/docs/reference/api/schemas/

not sure that answers my question. I downloaded the Postman bundle from that link and reviewed it but it doesn’t show how one can modify it. From what I can tell unless I am told different, it sounds like you have to create the app in the GUI and and use the instance ID to make changes. I was hoping there was a way to instantiate that app through REST.

Hi @jchandrasekar

By modifying an attribute, do you mean a user assignment value or an attribute itself in the application’s schema?

The latter but here’s a more definitive example, Today using the OKTA GUI, we have the option to create a custom application or browse through one of the many apps that are provided/published through OKTA. For example, Office 365. One could always create the app through the OKTA GUI and modify attributes through REST API but my question was more to the effect of - Can I create the app (in this case O365 in my example) through REST API directly. We can certainly create custom SAML 2.0 apps but in some cases, using the publisher’s app is a necessity. Thanks

Hi @jchandrasekar

Thank you for explaining the use-case. Unfortunately, we do not have a public documented API to add OIN applications inside Okta tenants.

If you want to check this APIs and try on our end, you can review the http requests and responses that the admin panel does and, based on them, recreate the requests on your end using Postman, curl or any other tool.

Thanks @dragos. Is there a way to see the API’s when creating the application as you suggested?

It looks like every time a new app is created, it instantiates a different instance id so hard coding it based on creating a prior instance won’t help unless some type of variable is offered that can automatically generate the instance id.