deleteObjects


SoftLayer_Network_SecurityGroup::deleteObjects

Delete security groups.

Description

Delete security groups for an account. A security group cannot be deleted if any network components are attached or if the security group is a remote security group for a SoftLayer_Network_SecurityGroup_Rule.

Parameters

Name Type Description
templateObjects SoftLayer_Network_SecurityGroup[] An array of skeleton SoftLayer_Network_SecurityGroup objects that you wish to delete. Each object in the array must have at least their id properties defined.

Required Headers

Optional Headers

  • None

Return Values

  • boolean
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Network_SecurityGroup]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_SecurityGroup/deleteObjects'