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

# POST /v2/{+name}:rename

`POST /v2/{+name}:rename`

RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.

## Path parameters

- `name` string, required

## Request body

- RenameVolumeRequest — Message requesting rename of a server.
  - `newVolumeId` string — Required. The new `id` of the volume.

## 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)
