Skip to main content

Attach_Volumes

statusboolean

Whether the request succeeded.

Example: false
messagestring

Human-readable description of the result.

Example: We can process with only available volumes.
volume_attachments object[]

Volumes currently attached to the VM.

  • Array [
  • idinteger

    Unique numeric identifier for the volume attachment.

    Example: 9876
    instance_idinteger

    Identifier of the virtual machine the volume is attached to.

    Example: 1129
    volume_idinteger

    Identifier of the attached volume.

    Example: 1402
    devicestring

    Device path the volume is attached at on the VM.

    Example: /dev/disk/by-id/virtio-a66fd1a8-e198-4eb4-a
    statusstring

    Status of the volume attachment.

    Example: ATTACHING
    protectedboolean

    When true, the volume attachment is protected from deletion.

    Example: false
    created_atstring<date-time>

    ISO 8601 UTC timestamp marking when the volume attachment was created.

    Example: 2026-05-07T09:21:55Z
  • ]
  • Attach_Volumes
    {
    "status": false,
    "message": "We can process with only available volumes.",
    "volume_attachments": [
    {
    "id": 9876,
    "instance_id": 1129,
    "volume_id": 1402,
    "device": "/dev/disk/by-id/virtio-a66fd1a8-e198-4eb4-a",
    "status": "ATTACHING",
    "protected": false,
    "created_at": "2026-05-07T09:21:55Z"
    }
    ]
    }