---
title: "Delete a task and its run history"
method: DELETE
path: "/tasks/{id}"
tags: ["Platform"]
---

# Delete a task and its run history

`DELETE /tasks/{id}`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/tasks/{id}`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

## Path parameters

- `id` string, required

## Response `200`

Deleted

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
