changeRedfishPowerState


SoftLayer_Hardware_Server::changeRedfishPowerState

Changes server’s power state using Redfish

Description

Changes the power state for the server. The server’s power status is changed from its remote management card.

Parameters

Name Type Description
state string

Required Headers

Optional Headers

  • None

Return Values

  • boolean
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_Server/{SoftLayer_Hardware_ServerID}/changeRedfishPowerState'