Skip to main content

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

StringWIFI name.

Mode

StringWIFI mode.

SecurityType

StringThe security type of WIFI.

UserName

StringThe user name of WIFI.

Password

StringThe password of WIFI.

AutoConnect

StringWIFI automatic connection.

Response

None.

Status code

HTTP Status CodeError Message ID
500InternalError

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”
}