Method: queries.delete
Stay organized with collections
Save and categorize content based on your preferences.
Deletes an existing query as well as its generated reports.
HTTP request
DELETE https://doubleclickbidmanager.googleapis.com/v2/queries/{queryId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
queryId |
string (int64 format)
Required. The ID of the query to delete.
|
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/doubleclickbidmanager
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-02-28 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-02-28 UTC."],[[["\u003cp\u003eThis endpoint allows for the deletion of an existing query and its associated reports using a \u003ccode\u003eDELETE\u003c/code\u003e request.\u003c/p\u003e\n"],["\u003cp\u003eIt requires a \u003ccode\u003equeryId\u003c/code\u003e as a path parameter to identify the specific query to be deleted.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and a successful deletion will result in an empty response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is required with the \u003ccode\u003ehttps://www.googleapis.com/auth/doubleclickbidmanager\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: queries.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 an existing query as well as its generated reports.\n\n### HTTP request\n\n`DELETE https://doubleclickbidmanager.googleapis.com/v2/queries/{queryId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------|------------------------------------------------------------------------------------------------------------------------------|\n| `queryId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the query to delete. |\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/doubleclickbidmanager`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]