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

# POST /v2/{+parent}/snapshots

`POST /v2/{+parent}/snapshots`

Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

## Path parameters

- `parent` string, required

## Request body

- VolumeSnapshot — A snapshot of a volume. Only boot volumes can have snapshots.
  - `description` string — The description of the snapshot.
  - `createTime` string, google-datetime — Output only. The creation time of the snapshot.
  - `type` 'SNAPSHOT_TYPE_UNSPECIFIED' | 'AD_HOC' | 'SCHEDULED' — Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.
  - `name` string — The name of the snapshot.
  - `id` string — Output only. An identifier for the snapshot, generated by the backend.
  - `storageVolume` string — Output only. The name of the volume which this snapshot belongs to.

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