...
Look out for the API parameter, profile.aspect.theme
in the API endpoint "Create a profile"section “Customisation / Profiles" in the openAPI documentation. Setting this parameter to one of the available values from the enumeration will ensure all web forms generated will go with the selected styling(theme).
...