Delete Subnet

Verb URI Description
DELETE /subnets/subnet-id Removes the specified subnet.

Normal Response Code: 204

Error Response Codes: Unauthorized (401), Not Found (404), Conflict (409)

This operation removes a subnet from a OpenStack Networking network. The operation fails if IP addresses from the subnet that you want to delete are still allocated.

This operation does not require a request body.

This operation does not return a response body.

 

Example 4.25. Delete Subnet: JSON Request

DELETE /v2.0/subnets/9436e561-47bf-436a-b1f1-fe23a926e031
Accept: application/json

 

Example 4.26. Delete Subnet: Response

Status: 204

Log a bug against this page


loading table of contents...