---
title: "Clean a failed job"
method: POST
path: "/job/{jobId}/cleanFailedJob"
tags: ["Job Actions"]
---

# Clean a failed job

`POST /job/{jobId}/cleanFailedJob`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/job/{jobId}/cleanFailedJob`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/job/:jobId/cleanFailedJob/post.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

OK

- object
  - `clean_kubernetes_jobs` string[]

---

[API](https://skmtc.dev/qovery/apis/qovery-api.md) - [All operations](https://skmtc.dev/qovery/apis/qovery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qovery/apis/qovery-api/revisions/93c4960a44ba?raw)
