---
title: "Delete a task"
method: DELETE
path: "/tasks/{id}"
tags: ["Tasks"]
---

# Delete a task

`DELETE /tasks/{id}`

Marks a task as deleted. If the task has subtasks then those will also be deleted.

## Path parameters

- `id` integer, required

## Response `200`

Deleted task.

- object
  - `success` boolean
  - `data` object
    - `success` boolean — If the request was successful or not
    - `data` object
      - `id` integer — The ID of the task that was deleted
  - `additional_data` object, nullable

---

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