PATCH – Enable/disable host interface
Use the PATCH method to update properties in Host Interface resource for Redfish service.
Request URL
PATCH https://<BMC_IPADDR>/redfish/v1/Managers/1/HostInterfaces/1
Request body
Property to be updated is shown as bellow.
Field | Type | Description | |
---|---|---|---|
InterfaceEnabled | Boolean | Indicate whether this interface is enabled. | |
CredentialBootstrapping | Object | Expanded. | |
Enabled | Boolean | When value is false, IPMI command 2C 01 and 2C 02 shall be rejected with Completion code 0x80. When there is an existing boot strap account, this value shall be always “disabled”. | |
EnableAfterReset | Boolean | If the value is true, after XCC/host reboot, the property “Enabled” will be changed to true automatically, as the boot strap account is expired and deleted. |
Response body
The response returns same content as GET operation with updated properties.
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Give documentation feedback