Skip to main content

Attach Volume to Node

PUT/block_storage/{block_id}/vm/attach/

Path parameters

  • block_idPathstringrequired

    Block ID

Query parameters

Request body

application/json

object
vm_idintegerrequired
example100157

Responses

200A successful response indicating block storage has been attached to a VM
object
codeinteger

Response status code

example200
dataobject
errorsobject

Any errors that occurred during the operation (if applicable)

messagestring

Response message indicating the operation result

exampleBlock Storage is Attached to VM.