"SoftLayer_" prefix removed for readability.
Edit a server’s properties
Name | Type | Description |
---|---|---|
templateObject | SoftLayer_Hardware_Server | A skeleton SoftLayer_Hardware_Server object with only the properties defined that you wish to change. Unchanged properties are left alone. |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Hardware_Server]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_SecurityModule/{SoftLayer_Hardware_SecurityModuleID}/editObject'