---
title: "Delete an agent schedule"
method: POST
path: "/api/v2/agent/deleteCronSchedule"
tags: ["Agent"]
---

# Delete an agent schedule

`POST /api/v2/agent/deleteCronSchedule`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v2/agent/deleteCronSchedule`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Delete a recurring assistant schedule. Requires agent management permission. Historical jobs remain but are detached from the deleted schedule.

## Request body

- AgentDeleteCronScheduleRequest
  - `organizationId` string: Organization ID (injected by MCP server)
  - `scheduleId` string, uuid, required: Schedule ID from agent.listCronSchedules.

## Response `200`

Schedule deleted

- AgentDeleteCronScheduleResponse
  - `deleted` boolean, required

## Other responses

- `401`: Error Response
- `403`: Error Response
- `404`: Error Response

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api/revisions/126e9c80ba0d?raw)
