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

# Delete a task

`DELETE /v1/tasks/{task_id}`

## Request

- Base URL: `https://app.nex.ai/api/developers`
- URL: `https://app.nex.ai/api/developers/v1/tasks/{task_id}`
- Auth: API key in header `Authorization`

Archives (soft-deletes) a task. The task will have an archived_at timestamp set.

## Path parameters

- `task_id` string, required

## Response `200`

Task archived

## Other responses

- `400`: Bad request
- `401`: Unauthorized - Invalid or missing API key
- `404`: Task not found
- `500`: Internal server error

## Changes

- **2026-02-17** `b05d8cb8cf43`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nex/apis/nex-developer-api/changes/v1/tasks/:task_id/delete.md)

---

[API](https://skmtc.dev/nex/apis/nex-developer-api.md) - [All operations](https://skmtc.dev/nex/apis/nex-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nex/apis/nex-developer-api/revisions/51003af13108?raw)
