---
title: "Delete a factory task"
method: DELETE
path: "/factory/{uid}/tasks/{task_uid}"
tags: ["Factories"]
---

# Delete a factory task

`DELETE /factory/{uid}/tasks/{task_uid}`

## Request

- Base URL: `https://app.warp.dev/api/v1`
- URL: `https://app.warp.dev/api/v1/factory/{uid}/tasks/{task_uid}`
- Auth: HTTP bearer

Soft-delete a task. The task disappears from list and get responses
immediately, and its conversation may be bound to a new task.
Deleting a task never deletes artifacts or the conversation.

## Path parameters

- `uid` string, required
- `task_uid` string, required

## Response `204`

Factory task deleted successfully

## Other responses

- `401`: Authentication required
- `403`: Factory access is not enabled for the authenticated principal
- `404`: Factory or task not found under this factory
- `500`: Internal server error

## Changes

- **2026-10-13** `96d1e59a65c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/warp/apis/oz-agent-api/changes/factory/:uid/tasks/:task_uid/delete.md)

---

[API](https://skmtc.dev/warp/apis/oz-agent-api.md) - [All operations](https://skmtc.dev/warp/apis/oz-agent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/warp/apis/oz-agent-api/revisions/4b5d145669be?raw)
