Remove interface from router (Delete connection interface)
Removes an internal interface from a logical router.
Specify a port on the network of a project that is different to the logical router within the same domain, and delete the connection interface.
URI
/v2.0/routers/{router_id}/remove_cross_project_router_interface
Description of the URI:
{router_id} UUID The UUID of the router.
HTTP method
PUT
Request parameter
| Key | Description | Type | Required/optional | 
|---|---|---|---|
| port_id | The port ID. | csapi:uuid | MUST | 
Example request
{
   "port_id": "1accb5ac-b258-483e-af3a-f41f6df8190c"
}
     Response status
| Status code | Description | 
|---|---|
| 200 | Normal response codes | 
| badRequest (400) | Error response codes | 
| unauthorized (401) | Error response codes | 
| forbidden (403) | Error response codes | 
| itemNotFound (404) | Error response codes | 
| conflict (409) | Error response codes | 
Response body (normal status)
{
    "id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e",
    "tenant_id": " e10f4ade5a7649c49e1a6817196516ad",
    "port_id": "1accb5ac-b258-483e-af3a-f41f6df8190c",
    "subnet_id": "a2f1f29d-571b-4533-907f-5803ab96ead1",
    "availability_zone": "AZ1"
}
     Description of response body (normal status)
| Item | Description | 
|---|---|
| id | The router ID | 
| tenant_id | The project ID | 
| port_id | The port ID | 
| subnet_id | The subnet ID | 
| availability_zone | The Availability Zone name | 
Notes
If a port on the network of the same project as the logical router is specified, an error will occur. (response code: 400)
If a logical router outside the domain to which the user belongs is specified, an error will occur. (response code: 403)
If a port on a network outside the domain to which the user belongs is specified, an error will occur. (response code: 404)