---
title: "Attach"
method: POST
path: "/api/v2/volumes/{volume_id}/attach"
tags: ["Volumes"]
---

# Attach

`POST /api/v2/volumes/{volume_id}/attach`

Attach a volume to a running instance.

## Path parameters

- `volume_id` string, required

## Request body

- VolumeAttachRequest
  - `instance_id` string, required
  - `mount_path` string
  - `mode` 'rw' | 'ro'

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-06-08** `cbe3ad94235c` — 2 breaking, 2 info
  - request property `mode` was restricted to a list of enum values
  - added the pattern `^/(workspace|mnt/[a-zA-Z0-9._-]+|data)$` to the request property `mount_path`
  - added the new `ro` enum value to the request property `mode`
  - added the new `rw` enum value to the request property `mode`
- **2026-04-01** `526c3dd3d9d7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/aabiro/apis/xcelsior/changes/api/v2/volumes/:volume_id/attach/post.md)

---

[API](https://skmtc.dev/aabiro/apis/xcelsior.md) · [All operations](https://skmtc.dev/aabiro/apis/xcelsior/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aabiro/xcelsior/revisions/32211b6f9d65/schema)
