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 endpoint allows for the deletion of a specific Document resource, identified by its full resource name."],["The HTTP request to delete a document is a DELETE request to a URL that specifies the document's name, which is structured using gRPC Transcoding syntax."],["The request body for deleting a document must be empty, while a successful operation returns an empty JSON object in the response."],["Deleting a document requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `discoveryengine.documents.delete`."],["A `PERMISSION_DENIED` error is returned if the caller lacks the necessary permission, and a `NOT_FOUND` error occurs if the document specified for deletion does not exist."]]],[]]