"SoftLayer_" prefix removed for readability.
Edit rules that belong to a security group.
Name | Type | Description |
---|---|---|
ruleTemplates | SoftLayer_Network_SecurityGroup_Rule[] | An array of rule objects |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Network_SecurityGroup_Rule]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_SecurityGroup/{SoftLayer_Network_SecurityGroupID}/editRules'