Attach a network to a cloud VM

Attaches a network to a cloud VM. Requires scope: vm.write.

Authentication

AuthorizationBearer

IBEE platform API token, for example: ibee_live_xxx.

Path parameters

vm_idstringRequired
Virtual machine ID.

Headers

X-Idempotency-KeystringRequired
Unique key used to safely retry write operations.

Query parameters

workspace_idstringRequired
The workspace ID to scope this request to.

Request

This endpoint expects an object.
network_idstringRequired
ID of the network to attach.

Response

Network attached successfully.
idstring
network_idstring
mac_addressstring or null
private_ipstring or null
statusenum
created_atdatetime

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error