---
title: "destroy"
method: DELETE
path: "/api/agent_schedules/{id}"
tags: ["AgentSchedule"]
---

# destroy

`DELETE /api/agent_schedules/{id}`

## Path parameters

- `id` string, required

## Response `204`

allows creator to delete their own agent schedule

## Other responses

- `401` — denies non-creator admin from deleting agent schedule in same account
- `404` — DELETE /api/agent_schedules/:id returns 404 Not Found
- `422` — blocks deletion when workflow API fails

---

[API](https://skmtc.net/treasure/apis/llm-api.md) · [All operations](https://skmtc.net/treasure/apis/llm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treasure/llm-api/revisions/56f275763358/schema)
