Updated on 2022-01-25 GMT+08:00

Deleting a Port (Discarded)

Function

This API is used to delete a port.

Restrictions

You are not allowed to delete the port if device_owner is specified.

URI

DELETE /v1/ports/{port_id}

Table 1 describes the parameters.
Table 1 Parameter description

Name

Mandatory

Description

port_id

Yes

Specifies the port ID, which uniquely identifies the port.

Request Message

  • Request parameter

    None

  • Example request

    None

Response Message

  • Response parameter

    None

  • Example response

    None

Status Code

See Status Codes.

Error Code

See Error Codes.