How to update AWS Connected Accounts IDs via OKTA API? Skip to main content
https://support.okta.com/help/answers?id=9062a000000qurgqak&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Leigh HartLeigh Hart 

How to update AWS Connected Accounts IDs via OKTA API?

We automating the provisioning and configuration of the Amazon Web Services App using the OKTA API (we are using Scenario B, multiple accounts via a master account).

So far we can successfully assign the App to Groups including the profile/samlRoles for each group, this is working nicely.

We would like to programmatically add new accounts to this integration as they are setup in AWS, without needing to use the OKTA Admin GUI.

To achieve this, we would need to be able to update the Amazon Web Services App using the API to update the "Connected Accounts IDs" parameter on the Provisioning "tab" of the Amazon Web Services App onfiguration page, and also request a refresh of the Application (which should happen when we add connected IDs I guess).

Can't seem to reverse engineer the required PUT body for 
 
PUT  /api/v1/apps/:aid

by getting the App, as the GET request does not include any of the Connected Accounts IDs I have manually setup so far in the GUI for testing.

Any suggestions?

Thanks!

Leigh
Josh SkeenJosh Skeen (Okta)
Hi Leigh,

I checked on my end for you, and currently our AWS app connector does not have the capability to update accounts in the manner you described.

What I would recommend would be to create a new feature request for this functionality. To submit this as a feature request, go to https://community.okta.com/ and then log in and click on the "Ideas" button in the top-right hand corner of the page, and then select "Post Idea" on the next page. This will open a feature request for other members of the community, including our own Product Managers, to see and vote on.

Please let us know if you have any additional questions and we will be happy to assist.

Josh Skeen
Okta Customer Support
Leigh HartLeigh Hart
Hi Josh, I've submitted the idea - can you verify I tagged it correctly please? Thanks! Leigh