---
title: "Update snapshots setting"
method: PATCH
path: "/v1/projects/{projectId}/snapshots"
tags: ["snapshots"]
---

# Update snapshots setting

`PATCH /v1/projects/{projectId}/snapshots`

Enable or disable optional Snapshots. This does not gate saving or testing Setup.

## Path parameters

- `projectId` string, required

## Request body

- UpdateSnapshotsBody
  - `enabled` boolean, required

## Response `200`

Success

- UpdateSnapshotsResponse
  - `enabled` boolean, required
  - `initialBuildId` string
  - `reusedSnapshot` object
    - `snapshotId` string, required
    - `lane` string, required
  - `queuedBehindActiveBuild` boolean

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `422` — Validation error
- `500` — Internal error

---

[API](https://skmtc.dev/capy/apis/capy-api.md) · [All operations](https://skmtc.dev/capy/apis/capy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/capy/capy-api/revisions/c9ea28cb32b6/schema)
