Skip to main content
POST
Attach VM to VPC
Updated May 8, 2026

Authorizations

X-API-Key
string
header
required

API key for authentication. Each key is bound to a specific account.

Headers

X-Project-ID
string<uuid>
required

Project ID. Required for all mutating operations (create, delete, power actions, resize).

Path Parameters

id
string<uuid>
required

VM ID (UUID)

Body

application/json
vpc_id
string<uuid>
required

VPC to attach the VM to.

ip
string

Specific private IP within the VPC's CIDR range. Auto-assigned if omitted.

Example:

"10.0.1.42"

Response

VM attached to VPC

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"

Last modified on May 8, 2026