FilesVersion: 2021-07-28
Delete a file from knowledge base
DEL/knowledge-bases/files/{fileId}
Deletes one uploaded file from the authenticated location so the AI no longer uses it. WHEN TO USE: use this when you need to remove a document; use getFilesByKnowledgeBasePublic to find the file id; use deleteTrainedUrlsForKnowledgeBase for crawled pages instead. RETURNS: whether the delete succeeded.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
knowledge-bases. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
2021-07-28Example:
2021-07-28Path Parameters
fileIdstringrequired
File ID to delete
Example:
ocQHyuzHvysMo5N5VsXcResponse
Deletes a file from knowledge base
successbooleanrequired
success
Example:
true