"SoftLayer_" prefix removed for readability.
Modifies an associated layout preference
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.
Name | Type | Description |
---|---|---|
templateObject | SoftLayer_Layout_Profile_Preference | The object whose preference is being modified. |
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/{SoftLayer_Layout_ProfileID}/modifyPreference'