Required. Full resource name of Document, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/branches/{branch}/documents/{document}.
If the caller does not have permission to delete the Document, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the Document to delete does not exist, a NOT_FOUND error is returned.
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["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-01-09 UTC."],[[["This webpage details the process of deleting a Document via an HTTP DELETE request, using gRPC Transcoding syntax for the URL."],["The `name` path parameter is required and represents the full resource name of the Document being deleted, following a specific format."],["The request body must be empty for this DELETE operation."],["A successful deletion returns an empty JSON object as the response body."],["Deleting a Document requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `discoveryengine.documents.delete` on the specified resource."]]],[]]