---
title: "Delete a task"
method: DELETE
path: "/schedules/{scheduleId}/tasks/{taskId}"
tags: ["Task"]
---

# Delete a task

`DELETE /schedules/{scheduleId}/tasks/{taskId}`

## Response `200`

successfully deleted task

## Other responses

- `404` — Model not found
- `500` — Server error

---

[API](https://skmtc.net/gitbookio/apis/mailscheduler.md) · [All operations](https://skmtc.net/gitbookio/apis/mailscheduler/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitbookio/mailscheduler/revisions/c6c3717d477d/schema)
