How can I programmatically choose a Source Control Branch using the API?

Updated -

In AAP 2.3, there's a 'Prompt on launch' checkbox for the 'Source Control Branch' field in the template. When this checkbox is selected, launching the template in the AAP controller UI prompts the user to set or overwrite the 'Source Control Branch' settings.

When initiating a launch through the API, make sure to include the following key in your key/value pair:

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content