---
title: "Delete agent schedule"
method: DELETE
path: "/v2/agents/{agent_key}/schedules/{schedule_key}"
tags: ["Agent Schedules"]
---

# Delete agent schedule

`DELETE /v2/agents/{agent_key}/schedules/{schedule_key}`

Deletes an agent schedule. This stops all future executions of the schedule.

Sessions that were previously created by this schedule are not deleted and remain accessible.

## Path parameters

- `agent_key` string, required — A unique key that identifies an agent.
- `schedule_key` string, required — A unique key that identifies an agent schedule.

## Headers

- `Request-Timeout` integer
- `Request-Timeout-Millis` integer

## Response `204`

The schedule is deleted.

## Other responses

- `403` — Permissions do not allow deleting this schedule.
- `404` — Agent or schedule not found.

---

[API](https://skmtc.net/vectara/apis/vectara-rest-api-v2.md) · [All operations](https://skmtc.net/vectara/apis/vectara-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vectara/vectara-rest-api-v2/revisions/fca567a46b3a/schema)
