---
title: "Delete workflows"
method: POST
path: "/workflow/delete"
tags: ["workflows"]
---

# Delete workflows

`POST /workflow/delete`

Deletes the workflow records identified by the given list of `workflowIds`.

## Query parameters

- `workspaceId` integer
- `force` boolean

## Request body

- DeleteWorkflowsRequest
  - `workflowIds` string[]

## Response `200`

OK - Return the IDs of workflows that could not be deleted, if any

- DeleteWorkflowsResponse
  - `failedWorkflowIds` string[]

## Other responses

- `400` — Bad request
- `403` — Operation not allowed

---

[API](https://skmtc.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/13316c9fe5ff/schema)
