---
title: "DELETE /workflows/{workflowId}"
method: DELETE
path: "/workflows/{workflowId}"
---

# DELETE /workflows/{workflowId}

`DELETE /workflows/{workflowId}`

## Path parameters

- `workflowId` string, required

## Response `200`

200 response

- Workflow
  - `completedConfig` object, nullable, required
    - `environment` object
    - `environmentSecrets` string[]
    - `imageUrl` string, required
    - `secretId` string
  - `createdBy` string, nullable, required
  - `createdTime` string, nullable, required
  - `description` string, nullable, required
  - `emailConfig` object, nullable
    - `additionalWorkflowInput` object, nullable
    - `allowedOrigins` string[], nullable
    - `email` string
    - `secretId` string, required
  - `errorConfig` object, nullable, required
    - `email` string
    - `manualRetry` boolean
  - `metadata` object, nullable
  - `monthlyNumberOfWorkflowExecutionsAllowed` integer
  - `monthlyNumberOfWorkflowExecutionsCreated` integer
  - `name` string, nullable, required
  - `numberOfRunningExecutions` integer, required
  - `status` 'development' | 'production'
  - `updatedBy` string, nullable, required
  - `updatedTime` string, nullable, required
  - `workflowId` string, required

## Other responses

- `400` — 400 response
- `403` — 403 response
- `404` — 404 response
- `415` — 415 response
- `500` — 500 response

## Changes

- **2023-12-14** `cfbfcfb3418f` — 3 info
  - added the optional property `monthlyNumberOfWorkflowExecutionsAllowed` to the response with the `200` status
  - added the optional property `monthlyNumberOfWorkflowExecutionsCreated` to the response with the `200` status
  - added the optional property `status` to the response with the `200` status
- **2023-11-20** `11fd669f01c2` — 1 info
  - added the optional property `emailConfig` to the response with the `200` status
- **2023-09-07** `7ca8a41be21c` — 1 info
  - added the optional property `metadata` to the response with the `200` status
- **2022-09-29** `424af607ab69` — 2 breaking
  - the response property `completedConfig` became nullable for the status `200`
  - the response property `errorConfig` became nullable for the status `200`
- **2021-11-05** `9788e6bfa925` — 5 warning
  - removed the optional property `emailConfig` from the response with the `200` status
  - removed the optional property `metadata` from the response with the `200` status
  - removed the optional property `monthlyNumberOfWorkflowExecutionsAllowed` from the response with the `200` status
  - removed the optional property `monthlyNumberOfWorkflowExecutionsCreated` from the response with the `200` status
  - …1 more

[Change history](https://skmtc.dev/lucidtechai/apis/lucidtech-api/changes/workflows/:workflowId/delete.md)

---

[API](https://skmtc.dev/lucidtechai/apis/lucidtech-api.md) · [All operations](https://skmtc.dev/lucidtechai/apis/lucidtech-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lucidtechai/lucidtech-api/revisions/d5fe190026be/schema)
