modifyPreference


SoftLayer_Layout_Profile_Customer::modifyPreference

Modifies an associated layout preference

Description

This method modifies an existing associated SoftLayer_Layout_Profile_Preference object. If the preference object being modified is a default value object, a new record is created to override the default value.

Only preferences that are assigned to a profile may be updated. Attempts to update a non-existent preference object will result in an exception being thrown.


Parameters

Name Type Description
templateObject SoftLayer_Layout_Profile_Preference The object whose preference is being modified.

Required Headers

Optional Headers

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Layout_Profile_Preference]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Layout_Profile_Customer/{SoftLayer_Layout_Profile_CustomerID}/modifyPreference'