Skip to main content
POST
Attach a VM to a private network

Authorizations

x-api-key
string
header
required

Long-lived API token created at https://vmarea.com/dashboard/settings/api-keys. Tokens are scope-restricted; this spec lists the scope each endpoint requires.

Path Parameters

id
string
required

Body

application/json
vmId
string
required
Pattern: ^[cC][^\s-]{8,}$
privateIp
string
Pattern: ^(?:(?:25[0-5]|2[0-4]\d|[01]?\d?\d)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d?\d)$

Response

Default Response

success
enum<boolean>
required
Available options:
true
data
object
required