Page Summary
-
This API call is deprecated and is used to delete a document within a Dialogflow project knowledge base.
-
Deleting a document can take up to 2-3 minutes.
-
The status of the document deletion can be checked by getting the agent data and examining the document's
operationInfo. -
The request uses an HTTP DELETE method with a specific URL format that includes brand, agent, knowledge base, and document identifiers.
-
The request and response bodies are both empty.
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 |
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.