---
title: "DELETE /v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}"
method: DELETE
path: "/v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}"
tags: ["projects"]
---

# DELETE /v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}

`DELETE /v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}`

## Request

- Base URL: `https://dataproc.googleapis.com`
- URL: `https://dataproc.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/dataproc`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/dataproc`
- TypeScript: <https://skmtc.dev/google/apis/dataproc/docs/v1/projects/:projectsId/locations/:locationsId/workflowTemplates/:workflowTemplatesId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a workflow template. It does not cancel in-progress workflows.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `workflowTemplatesId` string, required

## Query parameters

- `version` integer

## Response `200`

Successful response

- Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

## Changes

- **2026-10-29** `99b75ef6e002`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/dataproc` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/dataproc` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/dataproc/changes/v1/projects/:projectsId/locations/:locationsId/workflowTemplates/:workflowTemplatesId/delete.md)

---

[API](https://skmtc.dev/google/apis/dataproc.md) - [All operations](https://skmtc.dev/google/apis/dataproc/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/dataproc/revisions/99b75ef6e002?raw)
