---
title: "Remove a workflow"
method: DELETE
path: "/workflows/{workflowId}"
tags: ["Workflows"]
---

# Remove a workflow

`DELETE /workflows/{workflowId}`

## Request

- Base URL: `https://{prefix}.api.sandbox.checkout.com`
- URL: `https://{prefix}.api.sandbox.checkout.com/workflows/{workflowId}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `string` scopes: `flow`, `flow:workflows`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/checkout/apis/checkout-com-api-reference/docs/workflows/:workflowId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes a workflow so it is no longer being executed.
Actions of already executed workflows will be still processed.

## Path parameters

- `workflowId` string, required

## Response `204`

Workflow removed successfully

## Other responses

- `401`: Unauthorized
- `404`: Workflow not found
- `500`: Internal Error

---

[API](https://skmtc.dev/checkout/apis/checkout-com-api-reference.md) - [All operations](https://skmtc.dev/checkout/apis/checkout-com-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/checkout/apis/checkout-com-api-reference/revisions/0f1abdb1c3e9?raw)
