---
title: "Deletes a completed repair task."
method: POST
path: "/$/DeleteRepairTask"
tags: ["RepairManagement"]
---

# Deletes a completed repair task.

`POST /$/DeleteRepairTask`

This API supports the Service Fabric platform; it is not meant to be used directly from your code.

## Query parameters

- `api-version` '6.0', required

## Request body

- RepairTaskDeleteDescription — Describes a request to delete a completed repair task. This type supports the Service Fabric platform; it is not meant to be used directly from your code.
  - `TaskId` string, required — The ID of the completed repair task to be deleted.
  - `Version` string — The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current version of the repair task. If zero, then no version check is performed.

## Response `200`

A successful operation will return 200 status code.

## Other responses

- `default` — The detailed error response.

---

[API](https://skmtc.net/azure/apis/servicefabric-servicefabric.md) · [All operations](https://skmtc.net/azure/apis/servicefabric-servicefabric/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/servicefabric-servicefabric/revisions/8fd479ce0f16/schema)
