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-06-27 UTC."],[[["\u003cp\u003eThis webpage details the process of deleting a specified document using a DELETE HTTP request to the provided endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e parameter, which is a string, is required and defines the document to be deleted using its unique identifier within the specified project, location, and knowledge base.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty, while a successful response will include an \u003ccode\u003eOperation\u003c/code\u003e instance for a long-running operation.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a document requires the \u003ccode\u003edialogflow.documents.delete\u003c/code\u003e IAM permission and one of the specified OAuth scopes, such as \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]