getLicenseFile


SoftLayer_Software_Component::getLicenseFile

Get the license file for a software component if it is supported.

Description

Attempt to retrieve the file associated with a software component. If the software component does not support downloading license files an exception will be thrown.

Parameters

None

Required Headers

Optional Headers

  • None

Return Values

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