Skip to main content
DELETE
/
v1alpha1
/
public
/
knowledge-base
/
document
/
{documentID}
Delete document
curl --request DELETE \
  --url https://realtime-api.voiceflow.com/v1alpha1/public/knowledge-base/document/{documentID} \
  --header 'authorization: <api-key>'

Documentation Index

Fetch the complete documentation index at: https://docs.voiceflow.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

authorization
string
header
required

Voiceflow API key

Path Parameters

documentID
string
required

ID of the document to target.

Query Parameters

projectEnvironmentIDOrAlias
string

The alias of the environment to target (ie. main). You can find this in the environments page of your agent.

💡 Tip: Learn more about Environments.

Response

200

The target document was deleted successfully.