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

# Rollback to a ZFS snapshot

`POST /zfs/datasets/snapshot/{guid}/rollback`

Rollback to a ZFS snapshot

## Path parameters

- `guid` string, required

## Request body

- InternalHandlersZfsRollbackSnapshotRequest
  - `destroyMoreRecent` boolean

## Response `200`

Success

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

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `409` — Conflict
- `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/7a7bea85004e/schema)
