@wildix/wms-api-client > DeletePbxOAuth2ClientCommand
DeletePbxOAuth2ClientCommand class
Update OAuth2 client in the PBX.
Signature:
export declare class DeletePbxOAuth2ClientCommand extends DeletePbxOAuth2ClientCommand_base
Extends: DeletePbxOAuth2ClientCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { WmsApiClient, DeletePbxOAuth2ClientCommand } from "@wildix/wms-api-client"; // ES Modules import
// const { WmsApiClient, DeletePbxOAuth2ClientCommand } = require("@wildix/wms-api-client"); // CommonJS import
const client = new WmsApiClient(config);
const input = { // DeletePbxOAuth2ClientInput
id: "STRING_VALUE", // required
};
const command = new DeletePbxOAuth2ClientCommand(input);
const response = await client.send(command);
// { // DeletePbxOAuth2ClientOutput
// type: "result" || "error", // required
// result: "STRING_VALUE", // required
// };