---
title: "Delete a schedule"
method: DELETE
path: "/appointments/schedules/{schedule_id}"
tags: ["Appointments"]
---

# Delete a schedule

`DELETE /appointments/schedules/{schedule_id}`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/appointments/schedules/{schedule_id}`
- Auth: HTTP bearer

Delete a schedule. Returns 409 when this is the caller's last schedule
(mirroring the in-app guard - every user must retain at least one schedule).
Returns 404 when the schedule does not exist or belongs to another user.

## Path parameters

- `schedule_id` integer, required: Schedule integer ID.

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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