cPanel WHM icon

cPanel WHM

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

Actions262

Account → Return cPanel account summary

AI-generated

Summary

Retrieve a summary of a cPanel account by specifying identifying parameters such as username, domain, or search criteria.

Inputs

  • Domain — The main domain of the cPanel account to summarize.
  • User — The username of the cPanel account to summarize.
  • Search — A search term to locate the account.
  • Searchmethod — The method used to perform the search.
  • Searchtype — The type of search to perform on cPanel accounts.

Output shape

a JSON object containing the account summary data or a list of accounts when user is not provided.

If a username is not specified, the operation falls back to retrieving a list of accounts. The response format depends on whether a specific account is found or a list is returned. Errors are returned according to WHM API conventions.

Links

Discussion