---
title: "DeleteWorkflow"
method: POST
path: "/gitpod.v1.WorkflowService/DeleteWorkflow"
tags: ["gitpod.v1.WorkflowService"]
---

# DeleteWorkflow

`POST /gitpod.v1.WorkflowService/DeleteWorkflow`

Deletes a workflow permanently.

 Use this method to:
 - Remove unused workflows
 - Clean up test workflows
 - Delete obsolete configurations

 ### Examples

 - Delete workflow:

   Permanently removes a workflow.

   ```yaml
   workflowId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
   ```

## Request body

- GitpodV1DeleteWorkflowRequest — DeleteWorkflowRequest deletes a workflow permanently.
  - `force` boolean — force indicates whether to immediately delete the workflow and all related resources. When true, performs cascading deletion of: - All workflow executions - All workflow execution actions - All environments created by workflow actions - All agent executions created by workflow actions - The workflow itself When false (default), marks workflow executions for deletion and relies on background reconciliation to clean up resources.
  - `workflowId` string, uuid

## Response `200`

Success

- GitpodV1DeleteWorkflowResponse

## Other responses

- `default` — Error

## Changes

> 18 revisions in range; 1 could not be searched.

- **2025-12-15** `d62ef4b9187c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.WorkflowService/DeleteWorkflow/post.md)

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
