Actions51
- Client Actions
- Custom API Call Actions
- Domain Actions
- Invoice Actions
- Order Actions
- Product / Service Actions
- System Actions
- Ticket Actions
Client → Delete
AI-generatedSummary
Delete a client record in WHMCS
Inputs
- clientid (required) — Numeric ID of the client to delete; use 0 to look up by email if needed
- customParameters — Additional WHMCS API parameters not covered by other fields; name must match the API reference exactly
Output shape
A JSON object containing the WHMCS DeleteClient API response (e.g., success status or error details)
The response may include a status field and message; errors are raised unless continueOnFail is enabled
Examples
Example 1: Delete client with ID 42
resource: Client, operation: Delete, clientid: 42
Example 2: Delete client by email using customParameters
resource: Client, operation: Delete, clientid: 0, customParameters: {"parameter":[{"name":"email","value":"user@example.com"}]}