• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Neutron
  5. Port
  6. Deleting a Port

Deleting a Port

Function

This interface is used to delete a port.

Restrictions

  • A port with device_owner set to a value other than neutron:VIP_PORT cannot be deleted.
  • A port with device_id specified cannot be deleted.

URI

DELETE /v2.0/ports/{port_id}

Request Message

None

Response Message

None

Example:

Example request

DELETE /v2.0/ports/2b098395-046a-4071-b009-312bcee665cb 

Example response

None

Status Codes

For details, see section Status Codes.