POST – Connect BMC WIFI
Use the POST method to connect BMC Wifi.
Request URL
POST https://<BMC_IPADDR>/redfish/v1/Managers/1/EthernetInterfaces/WLAN/Actions/Oem/LenovoEthernetInterface.ConnectWifi
Request body
Field | Type | Description | |
---|---|---|---|
SSID | String | WIFI name. | |
Mode | String | WIFI mode. | |
SecurityType | String | The security type of WIFI. | |
UserName | String | The user name of WIFI. | |
Password | String | The password of WIFI. | |
AutoConnect | String | WIFI automatic connection. |
Response
None.
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example is POST body:
{
"SSID": "XCC_APTEST2",
"Mode": "WPA2-Enterprise",
"SecurityType": "EAP-TTLS/MSCHAPv2",
"UserName": "testing",
"Password": "Passw0rd123456",
"AutoConnect": true
}
The following example JSON response is returned:
{
"ConnectStatus": "disconnected”
}
Give documentation feedback