Routers
Update router
Update the configuration of an existing router.
patch/cloud/v2/routers/{project_id}/{region_id}/{router_id}
Path parameters
project_idinteger required
Project ID
Example:1
Project ID
region_idinteger required
Region ID
Example:1
Region ID
router_idstring uuid4 required
Router ID
Example:ccd5b925-e35c-4611-a511-67ab503104c8
Router ID
Request body
Example request
{
"external_gateway_info": {
"enable_snat": true,
"network_id": "3d1e9779-b8ad-4c8e-a1a4-0a03671f07f7",
"type": "manual"
},
"name": "my_renamed_router",
"routes": [
{
"destination": "10.0.3.0/24",
"nexthop": "10.0.0.13"
}
]
}Response
OK
Example response
{
"tasks": [
"d478ae29-dedc-4869-82f0-96104425f565"
]
}