diff --git a/source/includes/openstack/_routers.md b/source/includes/openstack/_routers.md index 88918255759..9cc0b7fad66 100644 --- a/source/includes/openstack/_routers.md +++ b/source/includes/openstack/_routers.md @@ -109,6 +109,31 @@ Create a router. | `name`
*string* | The router's name | | `externalNetworkId`
*UUID* | The router's external network ID | +#### Add a router interface + +```shell +curl -X POST \ + -H "MC-Api-Key: your_api_key" \ + -H "Content-Type: application/json" \ + -d "request_body" \ + "https://api.your.cloudmc/v1/services/compute-os/devel/routers/212eb8d8-80ee-4edd-8bae-1efed8bc5c71?operation=addRouterInterface" +# Request should look like this: +``` +```json +{ + "networkId": "471eb361-c028-45f5-bd1a-6d05a057624f", +} +``` + +POST /services/:service_code/:environment_name/routers/:id?operation=addRouterInterface + +Connect a router to a network. + +| Attributes | Description | +| ------------------------------------- | ----------------------------------- | +| `networkId`
*UUID* | The ID of the network to connect | + + #### Delete a router ```shell