Delete knowledge base files
Deletes one or more files from a Qoder CN knowledge base.
The new Qoder CN documentation site is now available. Content on this site may not reflect the latest product features and changes. Visit docs.qoder.cn for the latest product documentation.
|
Supported editions |
Enterprise Dedicated Edition, Enterprise Standard Edition |
Service endpoints
Get the service endpoint and replace {domain} in the API request syntax with your endpoint.
Authorization
|
Product |
Resource |
Permissions |
|
Qoder CN |
knowledge base file |
Read and write |
Request syntax
DELETE https://{domain}/oapi/v1/lingma/organizations/{organizationId}/knowledgeBases/{kbId}/files
Request |
Standard enterprise editionDelete knowledge base files
Enterprise dedicated editionDelete knowledge base files
|
Request headers |
|
|
The access token. See Access token for details. Example: pt-0fh3****0fbG_35af****0484. |
|
Request parameters |
|
|
organizationId The ID of the organization. You can find this ID on the 4. Getting the Organization ID. |
|
|
kbId The ID of the knowledge base. To get this ID, call the ListKnowledgeBases operation. |
|
|
fileIds A list of file IDs to delete. To get file IDs, call the ListKbFiles - List knowledge base files operation. |
Response parameters |
Response example
|
|
failedFiles A list of files that the operation failed to delete. |
|
|
successFiles A list of files that were successfully deleted. |
Error codes
For more information, see Error code center.