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

# POST /v1/{+environment}:saveSnapshot

`POST /v1/{+environment}:saveSnapshot`

Creates a snapshots of a Cloud Composer environment. As a result of this operation, snapshot of environment's state is stored in a location specified in the SaveSnapshotRequest.

## Path parameters

- `environment` string, required

## Request body

- SaveSnapshotRequest — Request to create a snapshot of a Cloud Composer environment.
  - `snapshotLocation` string — Location in a Cloud Storage where the snapshot is going to be stored, e.g.: "gs://my-bucket/snapshots".

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/composer.md) · [All operations](https://skmtc.dev/google/apis/composer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/composer/revisions/6b68932082fa/schema)
