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://admanager.googleapis.com/v1/{name}
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.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admanager
For more information, see the OAuth 2.0 Overview.
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-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThis method deletes a long-running operation, signaling the client is no longer interested in the result, but does not cancel the operation itself.\u003c/p\u003e\n"],["\u003cp\u003eIt uses a \u003ccode\u003eDELETE\u003c/code\u003e request to the specified URL with the operation name as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and a successful response will also be empty.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/admanager\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This outlines how to delete a long-running operation via an HTTP DELETE request. The request is sent to `https://admanager.googleapis.com/v1/{name}`, where `name` specifies the operation to delete. The request body must be empty. A successful deletion results in an empty response body. The operation is not canceled. Authorization requires the `https://www.googleapis.com/auth/admanager` OAuth scope. If the method is not supported, a `google.rpc.Code.UNIMPLEMENTED` is returned.\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- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\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://admanager.googleapis.com/v1/{name}`\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.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admanager`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]