---
title: "POST /v2/CleanupIncompleteUploads"
method: POST
path: "/v2/CleanupIncompleteUploads"
tags: ["Bucket"]
---

# POST /v2/CleanupIncompleteUploads

`POST /v2/CleanupIncompleteUploads`

Removes all incomplete multipart uploads that are older than the specified number of seconds.

## Request body

- CleanupIncompleteUploadsRequest
  - `bucketId` string, required
  - `olderThanSecs` integer, required

## Response `200`

The bucket was cleaned up successfully

- CleanupIncompleteUploadsResponse
  - `uploadsDeleted` integer, required

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.dev/deuxfleurs/apis/garage-administration-api.md) · [All operations](https://skmtc.dev/deuxfleurs/apis/garage-administration-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/deuxfleurs/garage-administration-api/revisions/07ffb2d0febb/schema)
