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>'

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.