---
title: "Rename a snapshot"
method: PATCH
path: "/v1/snapshots/{id}"
tags: ["Snapshots"]
---

# Rename a snapshot

`PATCH /v1/snapshots/{id}`

## Path parameters

- `id` string, uuid, required

## Request body

- UpdateSnapshotRequest
  - `name` string, required

## Response `200`

Updated snapshot

- SnapshotObject
  - `id` string, uuid, required
  - `name` string, required
  - `orgId` string, required
  - `vmId` string, uuid, required
  - `firewall` FirewallPolicy — Public IPv6 ingress firewall policy for a VM or snapshot.
    - `mode` 'open' | 'restricted', required
    - `ingress` FirewallRule[] — Allow rules evaluated only when `mode` is `restricted`. If empty, all public IPv6 ports are closed except essential ICMPv6 control traffic.
      - `protocol` 'tcp' | 'udp', required
      - `portStart` integer, required
      - `portEnd` integer
      - `sourceCidrs` string[] — IPv6 CIDRs allowed by this rule. If omitted, the backend treats the rule as open to `::/0`.
      - `description` string
  - `status` 'creating' | 'ready' | 'error', required
  - `createdAt` string, date-time, required

## Other responses

- `400` — Error response
- `401` — Error response
- `404` — Error response

---

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