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 how to delete a Document using the Discovery Engine API."],["The HTTP request for deletion is a `DELETE` operation, targeting a specific Document resource using its full path."],["The request requires specifying the full resource `name` of the Document within the path parameters, including project, location, collection, dataStore, branch, and document identifiers."],["The request body must be empty, and a successful response is also an empty JSON object."],["Deleting a Document requires the `discoveryengine.documents.delete` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]