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

# Delete a scheduled task

`DELETE /tasks/scheduled/{id}`

Use when removing a scheduled task from the active roster. Archives the task and removes it from the scheduler (soft delete).

## Path parameters

- `id` string, required

## Response `204`

Scheduled task archived successfully

## Other responses

- `400` — Task already archived
- `404` — Scheduled task not found
- `500` — Failed to archive task

---

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