Skip to main content

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

StopSyncDataSourceCommand class

Stop the sync of a data source by its ID

Signature:

export declare class StopSyncDataSourceCommand extends StopSyncDataSourceCommand_base 

Extends: StopSyncDataSourceCommand_base

Example

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

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