---
title: "Update the content of a snapshot"
method: PATCH
path: "/me/files/{fileName}/{version}"
tags: ["me"]
---

# Update the content of a snapshot

`PATCH /me/files/{fileName}/{version}`

## Path parameters

- `fileName` string, required
- `version` integer, required

## Request body

- Registration
  - `tags` Tag[], required
  - `description` string, required

## Response `200`

Snapshot updated successfully

- SnapshotMeta
  - `id` string, required
  - `owner` string, required
  - `fileName` string, required
  - `version` integer, required
  - `registered` boolean
  - `createdAt` string, date-time, required

## Other responses

- `404` — Snapshot not found

## Changes

- **2025-01-25** `396dcd08fcd9` — 2 info
  - api operation id `updateMySnapshot` was added
  - the endpoint scheme security `BearerAuth` was added to the API
- **2025-01-25** `113228ab116c` — 1 info
  - endpoint added
- **2025-01-20** `93e312846ab3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/changes/me/files/:fileName/:version/patch.md)

---

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