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 page details the process for deleting a Document using a DELETE HTTP request."],["The request URL structure follows gRPC Transcoding syntax and requires a `name` parameter specifying the full resource path of the Document."],["The request body must be empty, and a successful response will also be an empty JSON object."],["Deleting a Document requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `discoveryengine.documents.delete`."],["Attempting to delete a non-existent or inaccessible Document will return either a `NOT_FOUND` or `PERMISSION_DENIED` error, respectively."]]],[]]