Delete Quote
whmcs_delete_quoteDelete a quote from WHMCS by specifying its quote ID.
Instructions
Delete a quote
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quoteid | Yes | Quote ID |
Implementation Reference
- src/index.ts:1291-1306 (registration)Tool registration for whmcs_delete_quote. Defines the tool name, description, input schema (quoteid number), and calls whmcsClient.deleteQuote(params).
server.registerTool( 'whmcs_delete_quote', { title: 'Delete Quote', description: 'Delete a quote', inputSchema: { quoteid: z.number().describe('Quote ID'), }, }, async (params) => { const result = await whmcsClient.deleteQuote(params); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }], }; } ); - src/index.ts:1296-1298 (schema)Input schema for whmcs_delete_quote: requires a single 'quoteid' parameter of type number.
inputSchema: { quoteid: z.number().describe('Quote ID'), }, - src/whmcs-client.ts:1502-1504 (handler)Handler/implementation of deleteQuote on the WhmcsApiClient class. Calls the WHMCS API 'DeleteQuote' action with the quoteid parameter.
async deleteQuote(params: { quoteid: number }) { return this.call<WhmcsApiResponse>('DeleteQuote', params); }