Delete security group

 
MethodURIDescription
DELETE/v2.0/security-groups/{security_group_id}

Deletes an OpenStack Networking 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.

Normal response codes: 204

Error response codes: unauthorized (401), itemNotFound (404)

 Request

This table shows the URI parameters for the delete security group request:

NameTypeDescription

{security_group_id}

​Uuid

The unique identifier of the security group.

 

Example 4.52. Delete security group: JSON request

DELETE /v2.0/security-groups/e470bdfc-4869-459b-a561-cb3377efae59
Content-Type: application/json
Accept: application/json

This operation does not require a request body.

 Response

 

Example 4.53. Delete security group: JSON response

status: 204

This operation does not return a response body.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...