---
title: "Delete a schedule"
method: DELETE
path: "/agents/{agent_id}/schedules/{schedule_id}"
tags: ["Agents"]
---

# Delete a schedule

`DELETE /agents/{agent_id}/schedules/{schedule_id}`

## Request

- Base URL: `https://api.axilio.ai/api/v1`
- URL: `https://api.axilio.ai/api/v1/agents/{agent_id}/schedules/{schedule_id}`
- Auth: API key in header `X-Axilio-Api-Key`

Deletes a schedule and cancels its runs that have not started. Its other runs keep their schedule_id.

## Path parameters

- `agent_id` string, uuid, required: The agent's id.
- `schedule_id` string, uuid, required: The schedule's id.

## Response `204`

No Content

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

## Changes

- **2026-11-02** `62aa324803a7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/axilioai/apis/axilio-api-2/changes/agents/:agent_id/schedules/:schedule_id/delete.md)

---

[API](https://skmtc.dev/axilioai/apis/axilio-api-2.md) - [All operations](https://skmtc.dev/axilioai/apis/axilio-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/axilioai/apis/axilio-api-2/revisions/62aa324803a7?raw)
