Skip to main content

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.

FieldTypeDescription

InterfaceEnabled

BooleanIndicate whether this interface is enabled.

CredentialBootstrapping

ObjectExpanded.
 

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

BooleanIf 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 CodeError Message ID
500InternalError