Required. The name of the document to delete. Format: projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>.
Authorization requires the following IAM permission on the specified resource name:
dialogflow.documents.delete
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-01-15 UTC."],[[["This endpoint is used to delete a specific document, which is identified by its unique name in the provided path parameters."],["The deletion process is a long-running operation, and upon completion, it returns an empty message as a response and a KnowledgeOperationMetadata in the metadata."],["The HTTP request method for this operation is DELETE, and the URL includes the document's full path, which consists of the project, location, knowledge base, and document IDs."],["The request body for this operation must be empty, indicating that all necessary information for the deletion is provided in the URL path."],["Authorization to delete the document requires specific IAM permissions and one of two OAuth scopes, either cloud-platform or dialogflow."]]],[]]