whmcs_module_unsuspend
Unsuspend a suspended service account in WHMCS by providing the service ID to restore access and functionality.
Instructions
Unsuspend a service account
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountid | Yes | Service ID |
Implementation Reference
- src/whmcs-client.ts:1115-1117 (handler)Core implementation of the unsuspend tool: calls WHMCS ModuleUnsuspend API action with the service account ID.async moduleUnsuspend(params: { accountid: number }) { return this.call<WhmcsApiResponse>('ModuleUnsuspend', params); }
- src/index.ts:928-943 (registration)Registers the whmcs_module_unsuspend tool with the MCP server, defines input schema (accountid), and provides thin wrapper handler that delegates to WhmcsApiClient.moduleUnsuspend.'whmcs_module_unsuspend', { title: 'Module Unsuspend', description: 'Unsuspend a service account', inputSchema: { accountid: z.number().describe('Service ID'), }, }, async (params) => { const result = await whmcsClient.moduleUnsuspend(params); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }], }; } );
- src/index.ts:932-935 (schema)Zod input schema validation for the tool: requires accountid as number (service ID).inputSchema: { accountid: z.number().describe('Service ID'), }, },