getHardwareCount


SoftLayer_User_Customer::getHardwareCount

Retrieve the current number of servers a portal user has access to.

Description

Retrieve the number of servers that a portal user has access to. Portal users can have restrictions set to limit services for and to perform actions on hardware. You can set these permissions in the portal by clicking the “administrative” then “user admin” links.

Parameters

None

Required Headers

Optional Headers

  • None

Return Values

  • int
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_User_Customer/{SoftLayer_User_CustomerID}/getHardwareCount'