---
title: "clean up old jobs (Auth policies: audit:view)"
method: DELETE
path: "/api/rjobs/cleanup"
tags: ["RLongRunningJobs"]
---

# clean up old jobs (Auth policies: audit:view)

`DELETE /api/rjobs/cleanup`

## Response `200`

OK

- RLongRunningJobStatus[]
  - `id` string, uuid — Id
  - `name` string, nullable — Name
  - `progress` number, double — progress value (percent of custom value)
  - `startTime` string, date-time — Start Time
  - `endTime` string, date-time — End Time
  - `step` string, nullable — Current Step
  - `exception` string, nullable — Exception
  - `succeeded` boolean — finished
  - `lastUpdate` string, date-time — Last Update Time

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/ganjoor/apis/rmuseum-api.md) · [All operations](https://skmtc.net/ganjoor/apis/rmuseum-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ganjoor/rmuseum-api/versions/67f214807b28/schema)
