---
title: "Scrub Pool"
method: POST
path: "/zfs/pools/{guid}/scrub"
tags: ["ZFS"]
---

# Scrub Pool

`POST /zfs/pools/{guid}/scrub`

## Request

- Base URL: `https://sylve.lan:8181/api`
- URL: `https://sylve.lan:8181/api/zfs/pools/{guid}/scrub`
- Auth: API key in header `Authorization`

Start a scrub on a ZFS pool

## Path parameters

- `guid` string, required

## Response `202`

Accepted

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

## Other responses

- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-08-12** `9a5026bf9057`: 1 breaking, 2 info
  - removed the success response with the status `200`
  - added the non-success response with the status `404`
  - added the success response with the status `202`
- **2025-03-11** `2b736ca1b025`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/alchemillahq/apis/sylve-api/changes/zfs/pools/:guid/scrub/post.md)

---

[API](https://skmtc.dev/alchemillahq/apis/sylve-api.md) - [All operations](https://skmtc.dev/alchemillahq/apis/sylve-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alchemillahq/apis/sylve-api/revisions/9565cdd0abf5?raw)
