---
title: "POST /v2/{+instance}:detachLun"
method: POST
path: "/v2/{+instance}:detachLun"
tags: ["projects"]
---

# POST /v2/{+instance}:detachLun

`POST /v2/{+instance}:detachLun`

Detach LUN from Instance.

## Path parameters

- `instance` string, required

## Request body

- DetachLunRequest — Message for detach specific LUN from an Instance.
  - `lun` string — Required. Name of the Lun to detach.
  - `skipReboot` boolean — If true, performs lun unmapping without instance reboot.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/baremetalsolution.md) · [All operations](https://skmtc.net/google/apis/baremetalsolution/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/baremetalsolution/versions/7c6ae0857ec6/schema)
