Delete Port

Verb URI Description
DELETE /ports/port-id Removes a specified port from an OpenStack Networking network.

Normal Response Code: 204

Error Response Codes: Unauthorized (401), Forbidden (403), Not Found (404)

This operation removes a port from an OpenStack Networking network. If IP addresses are associated with the port, they are returned to the respective subnets allocation pools.

This operation does not require a request body.

This operation does not return a response body.

 

Example 4.37. Delete Port: JSON Request

DELETE /v2.0/ports/ebe69f1e-bc26-4db5-bed0-c0afb4afe3db.json
accept: application/json

 

Example 4.38. Delete Port: JSON Response

 status: 204 

Log a bug against this page


loading table of contents...