---
title: "Delete Schedule Deprecated Schedules Path"
method: DELETE
path: "/v1/schedules/{schedule_id}/"
tags: ["Notification windows"]
deprecated: true
---

# Delete Schedule Deprecated Schedules Path

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

## Request

- Base URL: `https://logfire-api.pydantic.dev/api`
- URL: `https://logfire-api.pydantic.dev/api/v1/schedules/{schedule_id}/`
- Auth: OAuth 2
  - Authorization code: `api/oauth/authorize`
  - Token URL: `/api/oauth/token` scopes: `organization:write_channel`
- TypeScript: <https://skmtc.dev/pydantic/apis/pydantic-logfire-api/docs/v1/schedules/:schedule_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Deprecated. Use `/notification-windows/{schedule_id}/` instead.

Delete a notification window. Channel assignments that used it then notify at all times.

## Path parameters

- `schedule_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `404`: Notification window not found
- `422`: Validation Error
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/pydantic/apis/pydantic-logfire-api.md) - [All operations](https://skmtc.dev/pydantic/apis/pydantic-logfire-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pydantic/apis/pydantic-logfire-api/revisions/7996e45256f4?raw)
