---
title: "Trigger cleanup of old data"
method: POST
path: "/api/cleanup"
tags: ["Admin"]
---

# Trigger cleanup of old data

`POST /api/cleanup`

## Request body

- object
  - `older_than_days` integer

## Response `200`

Cleanup results

- object
  - `success` boolean
  - `deleted` object

## Other responses

- `401` — Authentication required
- `403` — Insufficient permissions

---

[API](https://skmtc.net/builderz-labs/apis/mission-control-api.md) · [All operations](https://skmtc.net/builderz-labs/apis/mission-control-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/builderz-labs/mission-control-api/versions/b920835b2793/schema)
