v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Routers

Create router

Create a new router with the specified configuration.

post/cloud/v1/routers/{project_id}/{region_id}

Path parameters

project_idinteger required

Project ID

Example:1

Project ID

region_idinteger required

Region ID

Example:1

Region ID

Request body

namestring required

name of router

Example request

{
  "external_gateway_info": {
    "enable_snat": true,
    "network_id": "3d1e9779-b8ad-4c8e-a1a4-0a03671f07f7",
    "type": "manual"
  },
  "interfaces": [
    {
      "subnet_id": "3ed9e2ce-f906-47fb-ba32-c25a3f63df4f",
      "type": "subnet"
    }
  ],
  "name": "my_wonderful_router",
  "routes": [
    {
      "destination": "10.0.3.0/24",
      "nexthop": "10.0.0.13"
    }
  ]
}

Response

OK

tasksstring[] required

List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:

  • GET /v1/tasks/{task_id} - Check individual task status and details Poll task status until completion (FINISHED/ERROR) before proceeding with dependent operations.
idstring required

Example response

{
  "tasks": [
    "d478ae29-dedc-4869-82f0-96104425f565"
  ]
}