# Delete Workflow

DELETE /api/v2/projects/{projectId}/workflows/{workflowId}

Permanently deletes a workflow and everything cascading from it: steps, edges, runs, and run logs. Cannot be undone.

## Request

- projectId: string, path, required — ID of the project that owns the workflow.
- workflowId: string, path, required — ID of the workflow to delete.

## Response

- 200: Successful response
  - message: string, required
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 404: Not found
- 500: Internal server error
