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 operation deletes a specified document via a long-running process, indicated by the returned \u003ccode\u003eOperation\u003c/code\u003e type, which includes metadata and an empty response.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request for this operation is a \u003ccode\u003eDELETE\u003c/code\u003e request, targeting a specific document identified by its name in the URL path with the format \u003ccode\u003eprojects/*/knowledgeBases/*/documents/*\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter, which is mandatory, specifies the document to delete, and its format requires the \u003ccode\u003edialogflow.documents.delete\u003c/code\u003e IAM permission for authorization.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty for this operation, and a successful response will contain an instance of \u003ccode\u003eOperation\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTo authorize this operation, you need to use one of the following OAuth scopes: \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/dialogflow\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]