---
title: "PUT /v1beta/{tenantId}/block/snapshots/{snapshotId}"
method: PUT
path: "/v1beta/{tenantId}/block/snapshots/{snapshotId}"
tags: ["Block volume snapshots"]
---

# PUT /v1beta/{tenantId}/block/snapshots/{snapshotId}

`PUT /v1beta/{tenantId}/block/snapshots/{snapshotId}`

Updates a volume snapshot.

## Request body

- object
  - `name` string
  - `description` string

## Response `200`

OK

- VolumeSnapshotRespSpec — Snapshot is a description of volume snapshot resource.
  - `id` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `tenantId` string
  - `userId` string
  - `name` string
  - `description` string
  - `size` integer
  - `status` string
  - `volumeId` string
  - `profileId` string
  - `metadata` object

## Other responses

- `400` — BadRequest
- `401` — NotAuthorized
- `403` — Forbidden
- `404` — The resource does not exist
- `500` — An unexpected error occured.

## Changes

- **2019-12-09** `b151718b45cf` — 2 breaking
  - the response property `allOf[subschema #2]/name` became optional for the status `200`
  - the response property `allOf[subschema #2]/volumeId` became optional for the status `200`
- **2019-11-22** `a41e1157d0e7` — 3 breaking
  - the response property `allOf[subschema #2]/profileId` became optional for the status `200`
  - the response property `allOf[subschema #2]/status` became optional for the status `200`
  - the response property `allOf[subschema #2]/tenantId` became optional for the status `200`
- **2019-11-06** `fd0669e1e56f` — 7 info
  - added optional request body
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `401`
  - …3 more
- **2018-05-04** `3a7682f5369d` — 6 breaking, 1 info
  - removed the request body
  - removed the media type `application/json` for the response with the status `200`
  - removed the media type `application/json` for the response with the status `401`
  - removed the media type `application/json` for the response with the status `403`
  - …3 more

[Change history](https://skmtc.dev/sodafoundation/apis/soda-api/changes/v1beta/:tenantId/block/snapshots/:snapshotId/put.md)

---

[API](https://skmtc.dev/sodafoundation/apis/soda-api.md) · [All operations](https://skmtc.dev/sodafoundation/apis/soda-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sodafoundation/apis/soda-api/revisions/62ce0f6c94b4?raw)
