---
title: "Delete a workflow and cancel pending reminders"
method: DELETE
path: "/appointments/workflows/{workflow_id}"
tags: ["Appointments"]
---

# Delete a workflow and cancel pending reminders

`DELETE /appointments/workflows/{workflow_id}`

## Request

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

Delete a workflow and cancel any pending reminder rows created by it.
Mirrors the in-app router: ``cancel_workflow_reminders`` is called BEFORE
``delete_workflow`` so reminder FK constraints are satisfied and scheduled
worker jobs for this workflow never fire after deletion.

## Path parameters

- `workflow_id` integer, required: Workflow integer ID.

## Headers

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

## Response `204`

Successful Response

## 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)
