"SoftLayer_" prefix removed for readability.
Add new rules to a security group.
Name | Type | Description |
---|---|---|
ruleTemplates | SoftLayer_Network_SecurityGroup_Rule[] | An array of rule objects you want to create |
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}/addRules'