For projects.regions.workflowTemplates.delete, the resource name of the template has the following format: projects/{projectId}/regions/{region}/workflowTemplates/{template_id}
For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{projectId}/locations/{location}/workflowTemplates/{template_id}
Authorization requires the following IAM permission on the specified resource name:
dataproc.workflowTemplates.delete
Query parameters
Parameters
version
integer
Optional. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version.
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-20 UTC."],[[["\u003cp\u003eThis API endpoint deletes a specified workflow template, but does not stop any workflows that are currently running.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e parameter, which is a required string, specifies the unique resource name of the workflow template being deleted, following a specific format.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eversion\u003c/code\u003e parameter, which is optional, allows the user to specify a specific version of the workflow template to be deleted.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this API must be empty, with the successful response also being an empty JSON object.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a workflow template requires the \u003ccode\u003edataproc.workflowTemplates.delete\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.workflowTemplates.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes a workflow template. It does not cancel in-progress workflows.\n\n### HTTP request\n\n`DELETE https://dataproc.googleapis.com/v1/{name=projects/*/locations/*/workflowTemplates/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]