---
title: "Action to cleanup given list of blobs"
method: POST
path: "/system/blob_cleanup"
tags: ["system"]
---

# Action to cleanup given list of blobs

`POST /system/blob_cleanup`

## Clears the blobs based on the details (sha256) provided by admin

## Request body

- string[] — list of blobs with sha256

## Response `200`

cleanup stats

- CleanupStats — Cleanup stats
  - `blob_count` number
  - `space_reclaimed` number — Space reclaimed in bytes after cleanup

## Other responses

- `401` — Unauthenticated, no token is provided or token is invalid
- `403` — Access is forbidden

---

[API](https://skmtc.net/anaconda/apis/anaconda-server-api.md) · [All operations](https://skmtc.net/anaconda/apis/anaconda-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anaconda/anaconda-server-api/versions/6aef0cb7a151/schema)
