This operation deletes an OpenStack Networking security group and its associated security group rules, provided that a port is not associated with the security group.
This operation does not require a request body. This operation does not return a response body.
| Method | URI | Description |
|---|---|---|
| DELETE | /security-groups/{security_group_id} | Deletes an OpenStack Networking security group. |
Normal Response Code(s): 204
Error Response Code(s): unauthorized (401), itemNotFound (404)
The following table shows the URI parameters for the Delete Security Group Request:
| Name | Type | Description |
|---|---|---|
| Uuid | The unique identifier of the security group. |
Example 5.55. Delete Security Group Request: JSON
DELETE /v2.0/security-groups/e470bdfc-4869-459b-a561-cb3377efae59 Content-Type: application/json Accept: application/json

