changePreference


SoftLayer_User_Customer::changePreference

Change preference values for the current user

Description

Select a type of preference you would like to modify using SoftLayer_User_Customer::getPreferenceTypes and invoke this method using that preference type key name.

Parameters

Name Type Description
preferenceTypeKeyName string A valid preference type key name from SoftLayer_User_Preference_Type
value string Any valid value for the preference type

Required Headers

Optional Headers

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_User_Customer/{SoftLayer_User_CustomerID}/changePreference'