Skip to navigation

Attach volume

Attaches a volume to a specified virtual machine

Authentication

AuthorizationBearer

API token, for example amcld_.... Create one in the dashboard.

Path parameters

idstringRequired
Volume ID

Request

This endpoint expects an object.
vmIdstringRequiredformat: "uuid"
The ID of the virtual machine to attach the volume to

Response

Volume attachment initiated successfully
idstringformat: "uuid"
Volume identifier
statusstring
Volume status after the operation was accepted

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error