Skip to main content

@wildix/wim-tools-client > DeleteToolCommand

DeleteToolCommand class

Delete a tool by its ID.

Signature:

export declare class DeleteToolCommand extends DeleteToolCommand_base 

Extends: DeleteToolCommand_base

Example

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

import { ToolsClient, DeleteToolCommand } from "@wildix/wim-tools-client"; // ES Modules import
// const { ToolsClient, DeleteToolCommand } = require("@wildix/wim-tools-client"); // CommonJS import
const client = new ToolsClient(config);
const input = { // DeleteToolInput
companyId: "STRING_VALUE",
toolId: "STRING_VALUE", // required
};
const command = new DeleteToolCommand(input);
const response = await client.send(command);
// {};