Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.
Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.
Unfortunately WiFi management doesn't work in the MDM application on Android 11 and above (this is the Android restriction which is unable to be overridden), so there's no API for that.
If you need to set up WiFi, you can enable com.android.settings package (in kiosk mode, it's safe as there's no Settings icon in the status bar), and add this application to Headwind MDM.
If you're running your application in kiosk mode, it can open WiFi settings itself: https://stackoverflow.com/questions/2318310/how-to-call-wi-fi-settings-screen-from-my-application-using-android
If you're running Headwind MDM Kiosk Browser, add the following application setting: wifi_on_error=1