---
title: "Delete Subtask"
method: DELETE
path: "/subtasks/{id}"
tags: ["subtasks"]
---

# Delete Subtask

`DELETE /subtasks/{id}`

## Request

- Base URL: `https://app.tascan.io/api/v1`
- URL: `https://app.tascan.io/api/v1/subtasks/{id}`
- Auth: HTTP bearer

Delete a subtask and its completions. This action is irreversible.

## Path parameters

- `id` string, required

## Query parameters

- `subtask_id` string, required

## Response `200`

Success. JSON body: { data: ... } or an error object { error, message }.

## Other responses

- `4XX`: Client error (validation, auth, scope, rate limit).

---

[API](https://skmtc.dev/tascan/apis/tascan-api.md) · [All operations](https://skmtc.dev/tascan/apis/tascan-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tascan/apis/tascan-api/revisions/56fcd2861498?raw)
