---
title: "Rollback to a ZFS snapshot"
method: POST
path: "/zfs/datasets/snapshot/rollback"
tags: ["ZFS"]
---

# Rollback to a ZFS snapshot

`POST /zfs/datasets/snapshot/rollback`

Rollback to a ZFS snapshot

## Request body

- InternalHandlersZfsRollbackSnapshotRequest
  - `destroyMoreRecent` boolean
  - `guid` string, required

## Response `200`

OK

- GithubComAlchemillahqSylveInternalAPIResponseAny
  - `data` unknown
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/revisions/950e51f8af98/schema)
