Delete Security Group

 

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.

MethodURIDescription
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)

 Request

The following table shows the URI parameters for the Delete Security Group Request:

NameTypeDescription

{security_group_id}

​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

 Response

 

Example 5.56. Delete Security Group Response: JSON

status: 204

Log a bug against this page


loading table of contents...