---
title: "POST /v1/{+name}:revert"
method: POST
path: "/v1/{+name}:revert"
tags: ["projects"]
---

# POST /v1/{+name}:revert

`POST /v1/{+name}:revert`

Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created.

## Path parameters

- `name` string, required

## Request body

- RevertVolumeRequest — RevertVolumeRequest reverts the given volume to the specified snapshot.
  - `snapshotId` string — Required. The snapshot resource ID, in the format 'my-snapshot', where the specified ID is the {snapshot_id} of the fully qualified name like projects/{project_id}/locations/{location_id}/volumes/{volume_id}/snapshots/{snapshot_id}

## Response `200`

Successful response

---

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