Method: operations.deleteOperation
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://optimization.googleapis.com/v1/{name=projects/*/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 empty.
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 2024-11-15 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 2024-11-15 UTC."],[[["This document explains how to delete a long-running operation using the `DELETE` method, indicating the client is no longer interested in the result."],["The operation is not cancelled by this request and the server might return an `UNIMPLEMENTED` error if it doesn't support this method."],["The request requires a path parameter 'name' to identify the operation and an empty request body."],["A successful deletion will result in an empty response body."]]],["This document details the process of deleting a long-running operation via an HTTP DELETE request. The request is sent to a specific URL (`https://optimization.googleapis.com/v1/{name=projects/*/operations/*}`) defined by a path parameter named `name`, which specifies the operation resource to be deleted. The request body must be empty, and a successful response will also have an empty body. Note, deleting it only shows that the client is not interested in the operation. It will not cancel it.\n"]]