Required. Full resource name of TargetSite, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/siteSearchEngine/targetSites/{targetSite}.
If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the requested TargetSite does not exist, a NOT_FOUND error is returned.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation.
[[["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-27 UTC."],[[["\u003cp\u003eThis page details the process for deleting a TargetSite, which is done via a \u003ccode\u003eDELETE\u003c/code\u003e HTTP request to a specific URL.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter is required, specifying the full resource name of the TargetSite to be deleted, and the request will return a PERMISSION_DENIED error if the caller doesn't have access or a NOT_FOUND error if it does not exist.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty for this DELETE operation, and if the deletion is successful, the response will contain an Operation instance.\u003c/p\u003e\n"],["\u003cp\u003eTo perform this deletion, the caller needs the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope and the \u003ccode\u003ediscoveryengine.targetSites.delete\u003c/code\u003e IAM permission on the target resource.\u003c/p\u003e\n"]]],[],null,[]]