v32

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

Attach interface

Attach interface to instance

post/cloud/v1/instances/{project_id}/{region_id}/{instance_id}/attach_interface

Path parameters

project_idinteger required

Project ID

region_idinteger required

Region ID

instance_idstring required

Instance ID

Request body

OR
OR
OR

Example request

{
  "type": "external",
  "ip_family": "dual",
  "security_groups": [
    {
      "id": "4536dba1-93b1-492e-b3df-270b6b9f3650"
    },
    {
      "id": "cee2ca1f-507a-4a31-b714-f6c1ffb4bdfa"
    }
  ],
  "ddos_profile": {
    "profile_template": 29,
    "fields": []
  }
}

Response

Created task

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"
  ]
}