---
title: "Updates a single volume with given spec."
method: PUT
path: "/osd-volumes/{id}"
tags: ["volume"]
---

# Updates a single volume with given spec.

`PUT /osd-volumes/{id}`

## Path parameters

- `id` integer, required

## Request body

- VolumeSetRequest — unresolved $ref

## Response `200`

volume set response

- VolumeSetResponse — unresolved $ref

## Other responses

- `default` — unexpected error

## Changes

- **2018-02-22** `ed1f944f48d5` — 1 info
  - api tag `update` removed
- **2018-02-13** `f3b6d1b518ff` — 1 breaking, 1 warning
  - added the new path request parameter `id`
  - deleted the `query` request parameter `id`
- **2017-12-05** `d79082f863d1` — 1 breaking, 1 warning, 1 info
  - added the new required `query` request parameter `id`
  - deleted the `path` request parameter `id`
  - api tag `update` added

[Change history](https://skmtc.dev/libopenstorage/apis/osd-api/changes/osd-volumes/:id/put.md)

---

[API](https://skmtc.dev/libopenstorage/apis/osd-api.md) · [All operations](https://skmtc.dev/libopenstorage/apis/osd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/libopenstorage/osd-api/revisions/9faa312702c4/schema)
