We will be winding down Google Business Messages on July 31, 2024. Read more
here.
Method: brands.agents.dialogflowAssociation.knowledgebases.documents.delete
Stay organized with collections
Save and categorize content based on your preferences.
Deletes a document in a Dialogflow project knowledge base. Deleting a document may take 2-3 minutes.
To check the document status, get the agent data and check the document's operationInfo
.
HTTP request
DELETE https://businesscommunications.googleapis.com/v1/{name=brands/*/agents/*/dialogflowAssociation/knowledgebases/*/documents/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The unique identifier of the document. If the brand identifier is "1234", the agent identifier is "5678", knowledgebase identifier is "002" and document identifier is "005", this field resolves to "brands/1234/agents/5678/dialogflowAssociation/knowledgebases/002/documents/005".
|
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-14 UTC."],[[["This request deletes a specified document within a Dialogflow project knowledge base, which may take a few minutes to complete."],["To verify the document's deletion status, retrieve the agent data and examine the document's `operationInfo`."],["The request requires the document's unique identifier and utilizes a `DELETE` request to a specified endpoint."],["The request body should be empty, and upon successful deletion, the response body will also be empty."]]],[]]