---
title: "Delete a crawl schedule"
method: DELETE
path: "/v1/sites/{site}/schedules/{schedule_id}"
tags: ["schedules"]
---

# Delete a crawl schedule

`DELETE /v1/sites/{site}/schedules/{schedule_id}`

## Request

- Base URL: `https://frontshelf.io/api`
- URL: `https://frontshelf.io/api/v1/sites/{site}/schedules/{schedule_id}`
- Auth: HTTP bearer

Delete one schedule of a site; it never runs again, and the crawls it already ran stay. It asks for confirmation: call it with dry_run: true to see which schedule it would delete, then with confirm: true. To stop one for a while, schedules_update with `enabled: false` keeps it. A schedule that is not this site's, or is already gone, is NOT_FOUND, and nothing is deleted.

## Path parameters

- `site` string, required: Site ID (site_…), origin (https://example.com), or bare domain, resolved server-side; the response carries the canonical ID.
- `schedule_id` string, required: The schedule's id (st_…), as schedules_list gives it.

## Query parameters

- `dry_run` boolean: true: check the call and say what it would do, without doing it.
- `confirm` boolean: true: go ahead with a change that asks for confirmation.

## Response `200`

Delete a crawl schedule

- object
  - `summary` string, required: The answer in one or two sentences, with the numbers it rests on.
  - `warnings` string[], required: What limits this answer (a cap, a read that was cut short). Empty when nothing does.
  - `next_actions` object[], required: What to call next, best first. Follow them.
    - `capability` string, required: What to call next: a capability.
    - `arguments` object, required: Its arguments, complete; pass them as they are.
    - `instruction` string, required: What to do, written to you.
  - `site_id` string, required: The site's canonical id.
  - `schedule_id` string, required
  - `deleted` true, required

## Other responses

- `400`: VALIDATION_FAILED
- `401`: UNAUTHENTICATED
- `403`: ORGANIZATION_FROZEN, SCOPE_DENIED
- `404`: SITE_NOT_FOUND, NOT_FOUND
- `409`: AMBIGUOUS_SITE, AGENT_STOPPED
- `428`: CONFIRMATION_REQUIRED
- `503`: PLATFORM_READ_ONLY, DEPENDENCY_UNAVAILABLE

---

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