cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Account → Delete cPanel account

AI-generated

Summary

Delete a cPanel account by specifying its username, optionally retaining its DNS entries and setting a user context for the operation.

Inputs

  • Username (required) — The username of the cPanel account to delete.
  • Additional Fields — Optional parameters including whether to keep DNS entries (Keepdns) and a specific user context (User) for the deletion operation.

Output shape

a single JSON object containing the WHM API response indicating success or failure of the delete operation.

The response includes WHM API status and any error messages if present.

Links

Discussion