getDatacenterName


SoftLayer_Hardware::getDatacenterName

Description

The name of the datacenter in which a piece of hardware resides.

Parameters

None

Required Headers

Optional Headers

Return Values

  • string
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware/{SoftLayer_HardwareID}/getDatacenterName'