DeleteNetworkSecurityGroup

DELETE {{baseUrl}}/networkSecurityGroups/:networkSecurityGroupId

Deletes the specified network security group. The group must not contain any VNICs.

To get a list of the VNICs in a network security group, use ListNetworkSecurityGroupVnics. Each returned NetworkSecurityGroupVnic object contains both the OCID of the VNIC and the OCID of the VNIC's parent resource (for example, the Compute instance that the VNIC is attached to).

HEADERS

KeyDatatypeRequiredDescription
if-matchstringFor optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header