Method: operations.delete
Stay organized with collections
Save and categorize content based on your preferences.
Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
.
HTTP request
DELETE https://dai.googleapis.com/v1/{name=operations/**}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
The name of the operation resource to be deleted.
|
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-19 UTC."],[[["\u003cp\u003eThis method deletes a specified long-running operation, indicating the client is no longer interested in the results without actually canceling the operation itself.\u003c/p\u003e\n"],["\u003cp\u003eUses an HTTP DELETE request with the operation name as a path parameter and an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eReturns an empty response body upon successful deletion or a \u003ccode\u003egoogle.rpc.Code.UNIMPLEMENTED\u003c/code\u003e error if unsupported by the server.\u003c/p\u003e\n"],["\u003cp\u003eRelies on gRPC Transcoding for URL syntax.\u003c/p\u003e\n"]]],["The core content details the deletion of a long-running operation via an HTTP DELETE request. The request targets a specific operation resource identified by its `name` path parameter in the URL. The request body must be empty. A successful deletion yields an empty response body, indicating the client is no longer tracking the operation's result. If the operation isn't supported the server will return `google.rpc.Code.UNIMPLEMENTED`.\n"],null,["# Method: operations.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n\nDeletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.\n\n### HTTP request\n\n`DELETE https://dai.googleapis.com/v1/{name=operations/**}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------|\n| `name` | `string` The name of the operation resource to be deleted. |\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."]]