Skip to main content

@wildix/wim-knowledge-base-client > DeleteKnowledgeBaseCommand

DeleteKnowledgeBaseCommand class

Delete a knowledge base by its ID

Signature:

export declare class DeleteKnowledgeBaseCommand extends DeleteKnowledgeBaseCommand_base 

Extends: DeleteKnowledgeBaseCommand_base

Example

Use a bare-bones client and the command you need to make an API call.

import { KnowledgeBaseClient, DeleteKnowledgeBaseCommand } from "@wildix/wim-knowledge-base-client"; // ES Modules import
// const { KnowledgeBaseClient, DeleteKnowledgeBaseCommand } = require("@wildix/wim-knowledge-base-client"); // CommonJS import
const client = new KnowledgeBaseClient(config);
const input = { // DeleteKnowledgeBaseInput
companyId: "STRING_VALUE",
knowledgeBaseId: "STRING_VALUE", // required
};
const command = new DeleteKnowledgeBaseCommand(input);
const response = await client.send(command);
// {};