provider Agents Platform DELETE
/v1/convai/knowledge-base/{documentation_id} @utdk/elevenlabs
/v1/convai/knowledge-base/{documentation_id} Delete Knowledge Base Document Or Folder
Delete a document or folder from the knowledge base.
- documentation_id path required
- The id of a document from the knowledge base. This is returned on document addition.
- string
- force query
- If set to true, the document or folder will be deleted regardless of whether it is used by any agents and it will be removed from the dependent agents. For non-empty folders, this will also delete all child documents and folders.
- boolean
- xi-api-key header
- Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Try it
Authentication
Configure credentials for ElevenLabs API Documentation
Code snippet
Updates live as you fill in the form above.
TypeScript
import elevenlabs from '@utdk/elevenlabs';
await elevenlabs.deleteKnowledgeBaseDocument({
"force": false
})