Skip to docs navigation

cPanel integration guide

Verified

How to connect cPanel to WEXTL and use its 1 trigger and 120 actions in your workflows. About cPanel: Manage cPanel and WHM hosting: accounts, DNS, email, databases and backups.

  • 1 trigger
  • 64 searches
  • 56 actions
  • Polling
  • Auth: API key

AI-assisted documentation22 min read

This documentation is compiled from our integration source code, internal specs for cPanel, its official API documentation and anonymized requests logs we collect from our support team[2].

Open cPanel on WEXTL →
  • cPanel
Credential type option 1

cPanel - Account API Token

  • Server URLtextRequired

    The address of the server, for example https://cpanel.example.com. Use the service subdomain on the standard HTTPS port, because bare hostnames usually carry a self-signed certificate that cannot be verified.[1]

  • UsernametextRequired

    The account user that owns the API token.[1]

  • API TokenpasswordRequired

    An API token created in cPanel under Security, Manage API Tokens.[1]

Credential type option 2

cPanel - WHM API Token

  • Server URLtextRequired

    The address of the server, for example https://whm.example.com. Use the service subdomain on the standard HTTPS port, because bare hostnames usually carry a self-signed certificate that cannot be verified.[1]

  • UsernametextRequired

    The WHM user that owns the API token, root or a reseller.[1]

  • API TokenpasswordRequired

    An API token created in WHM under Development, Manage API Tokens.[1]

  1. Log in to your WEXTL account, add the cPanel node module to your workflow, and click Create new credential.
  2. Optional: In the Credential name field, enter a name for the credential.
  3. Enter the authentication credentials you copied from your cPanel account, or follow the on-screen instructions to create the credential.
  4. If prompted, authenticate your account and confirm access.
  5. If you want to make changes to your credential in the future, follow the steps in Manage credentials →

Watch New Accounts

TriggerPolls for newly created hosting accounts.
Output fields[3]
FieldType
Usertext
Domaintext
Emailtext
Plantext
Unix Startdatenumber
Startdatetext
Diskusedtext
Suspendednumber

Back Up an Account

ActionStarts an account backup job.
Input fields[3]
FieldType
UserRequired
choice
Compression Settingchoice
Incrementalchoice
Low Prioritychoice
MySQL Versiontext
Serialized Outputchoice
Skip Account Databasechoice
Skipapitokenschoice
Skipauthnlinkschoice
Skipbwdatachoice

5other input fields

Output fields[3]
FieldType
Complete Master Error Logtext
Complete Master Logtext
Session IDtext

Check Username Availability

ActionTests if a username is still available.
Input fields[3]
FieldType
UserRequired
text
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Copy a File

ActionDuplicates a file to a new path.
Input fields[3]
FieldType
DestinationRequired
text
SourceRequired
text
Output fields[3]
FieldType
Srctext
Desttext

Get a Default Address

ActionCatch-all routing of a mail domain.
Input fields[3]
FieldType
UserRequired
text
Domaintext
Output fields[3]
FieldType
Itemsarray

Get a DNS Zone

SearchZone file rows with names and data decoded.
Input fields[3]
FieldType
ZoneRequired
choice
Output fields[3]
FieldType
Line Indexnumber
Typetext
Record Typetext
TTLnumber
Nametext
Dataarray

Get a Domain Owner

ActionLooks up the account that owns a domain.
Input fields[3]
FieldType
DomainRequired
text
Output fields[3]
FieldType
Usertext

Get a Feature List

ActionSwitched-on cPanel features in a list.
Input fields[3]
FieldType
Feature ListRequired
choice
Output fields[3]
FieldType
Featurelisttext
Featuresarray

Get a Plan

ActionEvery stored value of a hosting plan.
Input fields[3]
FieldType
PlanRequired
choice
Output fields[3]
FieldType
Pkgobject
BWLIMITtext
CGInumber
CPMODtext
DIGESTAUTHtext
FEATURELISTtext
FRONTPAGEnumber
HASSHELLnumber
IPnumber
LANGtext
MAXADDONnumber

Get Account Information

ActionProfile data and limits for this login.
Input fields[3]
FieldType
Nametext
Output fields[3]
FieldType
Backup Enablednumber
Bandwidth Limitnumber
CGI Enablednumber
Contact Emailtext
Contact Email 2text
Cpanel Root Directorytext
Creatednumber
Created In Versiontext
Database Ownertext
Dead Domainsarray

58other output fields

Get an Account Bandwidth Report

ActionMonthly bandwidth use per hosting account.
Input fields[3]
FieldType
Monthnumber
Searchtext
Search Typechoice
Show Resellerstext
Yearnumber
Output fields[3]
FieldType
Acctarray
Monthnumber
Resellertext
Totalusednumber
Yearnumber

Get an Account Summary

ActionPlan, owner and disk size of a single account.
Input fields[3]
FieldType
Domaintext
Searchtext
Search Methodtext
Search Typetext
Userchoice
Output fields[3]
FieldType
Acctarray

Get an Autoresponder

ActionMessage and timing of an autoresponder.
Input fields[3]
FieldType
EmailRequired
text
Temp Charsettext
Output fields[3]
FieldType
Bodytext
Charsettext
Fromtext
Intervalnumber
Is HTMLnumber
Startnumber
Stopnumber
Subjecttext

Get Disk Usage

ActionDisk use of the server accounts.
Input fields[3]
FieldType
Cache Modechoice
Output fields[3]
FieldType
Accountsarray

Get File Content

ActionText content of a stored file.
Input fields[3]
FieldType
DirectoryRequired
text
FileRequired
text
From Charsettext
To Charsettext
Update HTML Document Encodingchoice
Output fields[3]
FieldType
Contenttext
Dirtext
Filenametext
From Chartext
From Charsettext
Pathtext
To Chartext
To Charsettext

Get Reseller Stats

ActionUsage report for one reseller.
Input fields[3]
FieldType
UserRequired
choice
Filter Deletedchoice
Filter Suspendedchoice
Monthnumber
Yearnumber
Output fields[3]
FieldType
Resellerobject
Acctarray
Bandwidthlimitnumber
Bwoversellingnumber
Diskoversellingnumber
Diskquotanumber
Diskusednumber
Monthnumber
Totalbwalloctext
Totalbwusedtext
Totaldiskalloctext

Get Resource Usage

ActionConsumption against each limit.
Output fields[3]
FieldType
Itemsarray

Get the Disk Quota

ActionDisk and inode quota status.
Output fields[3]
FieldType
Inode Limitnumber
Inodes Remainnumber
Inodes Usednumber
Megabyte Limitnumber
Megabytes Remainnumber
Megabytes Usednumber
Under Inode Limitnumber
Under Megabyte Limitnumber
Under Quota Overallnumber

Get the Server Hostname

ActionServer hostname reported by WHM.
Output fields[3]
FieldType
Hostnametext

Get the Server Load

ActionServer load over three time windows.
Output fields[3]
FieldType
Fifteennumber
Fivenumber
Onenumber

Get the Server Version

ActionInstalled cPanel release number.
Output fields[3]
FieldType
Versiontext

Get the Service Status

ActionRunning state of server services.
Input fields[3]
FieldType
Servicetext
Output fields[3]
FieldType
Servicearray

Grant Database Privileges

ActionGives a database user access rights.
Input fields[3]
FieldType
DatabaseRequired
choice
UserRequired
choice
Privilegestext
Output fields[3]
FieldType
Statusnumber
Messagestext

List Accounts

SearchServer accounts with domain, plan and disk use.
Input fields[3]
FieldType
Searchtext
Search Methodchoice
Search Typechoice
Wanttext
LimitRequired
number
Output fields[3]
FieldType
Backupnumber
Child Nodesarray
Disklimittext
Diskusedtext
Domaintext
Emailtext
Has Backupnumber
Inodeslimittext
Inodesusednumber
IPtext

33other output fields

List Addon Domains

ActionAddon domains configured on the account.
Input fields[3]
FieldType
Regextext
Return Https Redirect Statuschoice
Output fields[3]
FieldType
Statusnumber
Messagestext

List API Tokens

SearchAPI tokens with expiry times.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Create Timenumber
Expires Atnumber
Featuresarray
Has Full Accessnumber
Nametext
Readonlynumber

List Autoresponders

SearchAutomatic replies set up for a domain.
Input fields[3]
FieldType
DomainRequired
choice
Regextext
LimitRequired
number
Output fields[3]
FieldType
Emailtext
Subjecttext

List Backup Destinations

SearchConfigured backup targets and whether they are disabled.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Disable Reasontext
Disabledtext
IDtext
Nametext
Typetext
Aws Access Key IDtext
Buckettext
Foldertext
Timeouttext

List Backup Files

ActionBackup sets found on the server.
Output fields[3]
FieldType
Backup Setobject

List Backups

SearchStored backup file names.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Valuetext

List Certificates

SearchInstalled SSL certificates and domains.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Creatednumber
Domain Is Configurednumber
Domainsarray
Ecdsa Curve Nametext
Ecdsa Publictext
Friendly Nametext
IDtext
Is Self Signednumber
Issuer.common Nametext
Issuer.organization Nametext

11other output fields

List DNS Zones

SearchDNS zone names and zone file names.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Domaintext
Zonefiletext

List Domains

ActionEvery domain sorted by kind.
Input fields[3]
FieldType
Hide Temporary Domainschoice
Output fields[3]
FieldType
Addon Domainsarray
Main Domaintext
Parked Domainsarray
Sub Domainsarray
Is Temporaryobject

List Email Accounts

SearchMailboxes with suspension flags.
Input fields[3]
FieldType
No Validatechoice
Regextext
Skip Mainchoice
LimitRequired
number
Output fields[3]
FieldType
Emailtext
Logintext
Suspended Incomingnumber
Suspended Loginnumber

List Feature Lists

SearchFeature lists you can assign to plans.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Valuetext

List Files

ActionFolder contents with optional permissions.
Input fields[3]
FieldType
DirectoryRequired
text
Check For Leaf Directorieschoice
Include Mimechoice
Include Permissionschoice
Limit To Listchoice
Mime Typestext
Only These Filestext
Raw Mime Typestext
Show Hiddenchoice
Typestext
Output fields[3]
FieldType
Dirsarray
Filesarray

List Forwarders

SearchMail forwarders configured for a domain.
Input fields[3]
FieldType
DomainRequired
choice
Regextext
LimitRequired
number
Output fields[3]
FieldType
Desttext
Forwardtext
HTML Desttext
HTML Forwardtext
URI Desttext
URI Forwardtext

List FTP Accounts

SearchFTP accounts with home folders.
Input fields[3]
FieldType
Include Acct Typestext
Skip Acct Typestext
LimitRequired
number
Output fields[3]
FieldType
Homedirtext
Typetext
Usertext

List Mail Domains

SearchDomains that handle incoming mail.
Input fields[3]
FieldType
Add Wwwchoice
Include Wildcardchoice
Return Temporary Domaintext
Selecttext
LimitRequired
number
Output fields[3]
FieldType
Domaintext
Selectnumber

List Mailing Lists

SearchMailing lists with access type and size.
Input fields[3]
FieldType
Domaintext
Regextext
LimitRequired
number
Output fields[3]
FieldType
Accesstypetext
Advertisednumber
Archive Privatenumber
Desthosttext
Diskusednumber
Humandiskusedtext
Listtext
Listadmintext
Listidtext
Subscribe Policynumber

List MySQL Databases

SearchNames, sizes and grants of MySQL databases.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Databasetext
Disk Usagenumber
Usersarray

List MySQL Users

SearchLogin names and database grants for MySQL.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Databasesarray
Shortusertext
Usertext

List Parked Domains

ActionAlias domains that show the main site.
Input fields[3]
FieldType
Regextext
Return Https Redirect Statuschoice
Output fields[3]
FieldType
Statusnumber
Messagestext

List Plans

SearchHosting plans and their resource limits.
Input fields[3]
FieldType
Wantchoice
LimitRequired
number
Output fields[3]
FieldType
BWLIMITtext
CGItext
CPMODtext
DIGESTAUTHtext
FEATURELISTtext
HASSHELLtext
IPtext
LANGtext
MAXADDONtext
MAXFTPtext

12other output fields

List PostgreSQL Databases

SearchPostgreSQL database names, sizes and grants.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Databasetext
Disk Usagenumber
Usersarray

List PostgreSQL Users

SearchLogin names of the PostgreSQL server.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Valuetext

List Resellers

SearchReseller usernames on the server.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Valuetext

List Server Domains

SearchAll server domains with document roots.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Docroottext
Domaintext
Domain Typetext
Ipv4text
Ipv4 SSLtext
Ipv6text
Ipv6 Is Dedicatednumber
Modsecurity Enablednumber
Parent Domaintext
PHP Versiontext

4other output fields

List Server MySQL Databases

SearchEvery MySQL schema on the server by owner.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Cpusertext
Enginetext
Nametext

List Server MySQL Users

SearchEvery MySQL login on the server by owner.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Cpusertext
Enginetext
Nametext

List Subdomains

ActionSubdomains with optional redirect state.
Input fields[3]
FieldType
Regextext
Return Https Redirect Statuschoice
Output fields[3]
FieldType
Statusnumber
Messagestext

List Suspended Accounts

SearchSuspended accounts and why they were locked.
Input fields[3]
FieldType
LimitRequired
number
Output fields[3]
FieldType
Is Lockednumber
Ownertext
Reasontext
Timetext
Unixtimenumber
Usertext

Make an Account a Reseller

ActionPromotes a hosting account to reseller status.
Input fields[3]
FieldType
UserRequired
choice
Make Ownerchoice
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Park a Domain

ActionPoints a domain at the main site.
Input fields[3]
FieldType
DomainRequired
text
Disallow Dotschoice
Forcechoice
Topdomaintext
Output fields[3]
FieldType
Statusnumber
Messagestext

Require a Password Change

ActionForces password changes for several users.
Input fields[3]
FieldType
Users JSONRequired
text
Stop On Failurechoice
Output fields[3]
FieldType
Updatedarray

Reset a DNS Zone

ActionReturns a zone to default records.
Input fields[3]
FieldType
Domainchoice
Userchoice
Zonechoice
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Restart a Service

ActionRestarts a named server service.
Input fields[3]
FieldType
ServiceRequired
text
Queue Taskchoice
Output fields[3]
FieldType
Outputtext
Servicetext

Revoke an API Token

ActionToken revocation by name.
Input fields[3]
FieldType
NameRequired
text
Output fields[3]
FieldType
Statusnumber
Messagestext

Revoke Database Access

ActionDetaches a MySQL login from one database.
Input fields[3]
FieldType
DatabaseRequired
choice
UserRequired
choice
Output fields[3]
FieldType
Statusnumber
Messagestext

Run an AutoSSL Check

ActionImmediate AutoSSL renewal run.
Output fields[3]
FieldType
Statusnumber
Messagestext

Suspend a Reseller

ActionLocks a reseller and its privileges.
Input fields[3]
FieldType
UserRequired
choice
Disallowchoice
Reasontext
Reseller Onlychoice
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Suspend an Account

ActionSuspends an account with a stated reason.
Input fields[3]
FieldType
UserRequired
choice
Disallow Unsuspendchoice
Leave FTP Accounts Enabledchoice
Reasontext
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Unpark a Domain

ActionRemoval of a parked domain alias.
Input fields[3]
FieldType
DomainRequired
text
Subdomaintext
Output fields[3]
FieldType
Statusnumber
Messagestext

Unsuspend a Reseller

ActionReactivates a suspended reseller.
Input fields[3]
FieldType
UserRequired
choice
Reseller Onlychoice
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Unsuspend an Account

ActionLifts the suspension on an account.
Input fields[3]
FieldType
UserRequired
choice
Retain Service Proxieschoice
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Add a DNS Record

ActionTyped record for a DNS zone.
Input fields[3]
FieldType
DomainRequired
choice
TypeRequired
choice
NameRequired
text
TTLnumber
Classtext
Addresstext
CNAMEtext
Flattentext
Flatten Totext
Aliastext

36other input fields

Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Change a MySQL User Password

ActionRotates the credential of a MySQL login.
Input fields[3]
FieldType
PasswordRequired
secret
UserRequired
choice
Output fields[3]
FieldType
Failuresarray

Change an Account Password

ActionCredential reset for a hosting account.
Input fields[3]
FieldType
PasswordRequired
secret
UserRequired
choice
Update Database Passwordschoice
Digest Authenticationchoice
Enable Digestchoice
Output fields[3]
FieldType
Apparray

Change an Account Plan

ActionSwitches the hosting plan of an account.
Input fields[3]
FieldType
PlanRequired
choice
UserRequired
choice
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Change an Email Password

ActionGives a mailbox a new password.
Input fields[3]
FieldType
EmailRequired
choice
PasswordRequired
secret
Domaintext
Output fields[3]
FieldType
Statusnumber
Messagestext

Change an FTP Password

ActionGives an FTP login a new password.
Input fields[3]
FieldType
PasswordRequired
secret
UserRequired
text
Domaintext
Output fields[3]
FieldType
Statusnumber
Messagestext

Create a DNS Zone

ActionStarts serving DNS records for a new site.
Input fields[3]
FieldType
DomainRequired
choice
IP AddressRequired
text
IPv6 Addresstext
Templatetext
True Ownertext
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Create a Feature List

ActionMakes a named feature list.
Input fields[3]
FieldType
Feature ListRequired
choice
Feature List Namechoice
Overwritechoice
Output fields[3]
FieldType
Featurelisttext

Create a Forwarder

ActionSets up mail forwarding from an address.
Input fields[3]
FieldType
DomainRequired
choice
EmailRequired
text
Forward OptionRequired
text
Failure Messagetext
Forward Totext
System Accounttext
Pipe To Programtext
Output fields[3]
FieldType
Itemsarray

Create a Full Backup

ActionFull backup written to the home folder.
Input fields[3]
FieldType
Emailtext
Home Directorychoice
Output fields[3]
FieldType
Pidtext

Create a Mailing List

ActionDistribution list for group mail.
Input fields[3]
FieldType
DomainRequired
choice
ListRequired
text
PasswordRequired
secret
Privatechoice
Rebuildonlychoice
Output fields[3]
FieldType
Statusnumber
Messagestext

Create a MySQL Database

ActionProvisions a MySQL database for the account.
Input fields[3]
FieldType
NameRequired
text
Prefix Sizechoice
Output fields[3]
FieldType
Statusnumber
Messagestext

Create a MySQL User

ActionProvisions a database login on the MySQL server.
Input fields[3]
FieldType
NameRequired
text
PasswordRequired
secret
Prefix Sizechoice
Output fields[3]
FieldType
Statusnumber
Messagestext

Create a Plan

ActionDefines a plan with resource limits.
Input fields[3]
FieldType
NameRequired
text
PACKAGE EXTENSIONStext
Bandwidth Limittext
CGI Accesschoice
Themetext
Digest Authenticationchoice
Feature Listchoice
FrontPagechoice
Hasshellchoice
IP Addresschoice

5other input fields

Output fields[3]
FieldType
Pkgtext

Create a PostgreSQL Database

ActionAdds a PostgreSQL database by name.
Input fields[3]
FieldType
NameRequired
text
Output fields[3]
FieldType
Statusnumber
Messagestext

Create a PostgreSQL User

ActionAdds a login to the PostgreSQL server.
Input fields[3]
FieldType
NameRequired
text
PasswordRequired
secret
Output fields[3]
FieldType
Statusnumber
Messagestext

Create a Subdomain

ActionAdds a subdomain with a folder.
Input fields[3]
FieldType
DomainRequired
text
Root DomainRequired
choice
Canoffchoice
Directorytext
Disallow Dotschoice
Output fields[3]
FieldType
Statusnumber
Messagestext

Create an Account

ActionProvisions a new hosting account from a plan.
Input fields[3]
FieldType
UsernameRequired
text
Planchoice
Passwordsecret
Account Enhancementstext
Bandwidth Limittext
CGI Accesschoice
Contact Emailtext
Themetext
Custom IPtext
Digest Authenticationchoice

7other input fields

Output fields[3]
FieldType
IPtext
Nameservertext
Nameserver2text
Nameserver3text
Nameserver4text
Nameserveratext
Nameservera2text
Nameservera3text
Nameservera4text
Nameserverentrytext

4other output fields

Create an Account Login Link

ActionOne-time sign-in link to a hosting panel.
Input fields[3]
FieldType
ServiceRequired
choice
UserRequired
choice
Apptext
Cp Security Tokentext
Localetext
Post Login Landingtext
Preferred Domaintext
Prompt Tokentext
Websitetext
Output fields[3]
FieldType
Cp Security Tokentext
Expiresnumber
Servicetext
Sessiontext
URLtext

Create an Addon Domain

ActionExtra domain that serves a separate folder.
Input fields[3]
FieldType
New DomainRequired
text
SubdomainRequired
text
Directorytext
Disallow Dotschoice
Forcechoice
Output fields[3]
FieldType
Statusnumber
Messagestext

Create an API Token

ActionGenerates a token that authenticates API calls.
Input fields[3]
FieldType
NameRequired
text
Expires Atnumber
Readonlychoice
Output fields[3]
FieldType
Create Timenumber
Tokentext

Create an Autoresponder

ActionCreates a timed automatic reply.
Input fields[3]
FieldType
BodyRequired
text
DomainRequired
choice
EmailRequired
text
FromRequired
text
IntervalRequired
number
Is HTMLRequired
choice
StartRequired
number
StopRequired
number
SubjectRequired
text
Charsettext
Output fields[3]
FieldType
Statusnumber
Messagestext

Create an Email Account

ActionAdds a mailbox with a quota.
Input fields[3]
FieldType
EmailRequired
text
PasswordRequired
secret
Domainchoice
Password Hashtext
Quotatext
Send Welcome Emailchoice
Skip Update Dbchoice
Output fields[3]
FieldType
Statusnumber
Messagestext

Create an FTP Account

ActionAdds an FTP login with a quota.
Input fields[3]
FieldType
UserRequired
text
Disallow Dotschoice
Domaintext
Home Directorytext
Passwordsecret
Pass Hashtext
Quotanumber
Output fields[3]
FieldType
Statusnumber
Messagestext

Delete a Certificate

ActionUninstalls an SSL certificate from a domain.
Input fields[3]
FieldType
Friendly Nametext
IDtext
Output fields[3]
FieldType
Itemsarray

Delete a DNS Record

ActionSingle record deletion in a zone.
Input fields[3]
FieldType
LineRequired
number
ZoneRequired
choice
Serial Numbertext
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Delete a DNS Zone

ActionWhole zone deletion on the name server.
Input fields[3]
FieldType
DomainRequired
choice
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Delete a Feature List

ActionFeature list deletion with the name reported.
Input fields[3]
FieldType
Feature ListRequired
choice
Output fields[3]
FieldType
Deleted Featurelisttext

Delete a Forwarder

ActionStops forwarding mail from a single address.
Input fields[3]
FieldType
AddressRequired
text
ForwarderRequired
text
Output fields[3]
FieldType
Statusnumber
Messagestext

Delete a Mailing List

ActionRemoves a mailing list and all subscribers.
Input fields[3]
FieldType
ListRequired
text
Output fields[3]
FieldType
Statusnumber
Messagestext

Delete a MySQL Database

ActionDeletes a MySQL database from the cPanel server.
Input fields[3]
FieldType
NameRequired
choice
Output fields[3]
FieldType
Statusnumber
Messagestext

Delete a MySQL User

ActionDeletes a MySQL login from the cPanel server.
Input fields[3]
FieldType
NameRequired
choice
Output fields[3]
FieldType
Statusnumber
Messagestext

Delete a Plan

ActionPlan deletion by name.
Input fields[3]
FieldType
Plan NameRequired
text
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Delete a PostgreSQL Database

ActionDeletes a PostgreSQL schema from this account.
Input fields[3]
FieldType
NameRequired
text
Output fields[3]
FieldType
Statusnumber
Messagestext

Delete a PostgreSQL User

ActionDeletes a PostgreSQL login from this account.
Input fields[3]
FieldType
NameRequired
text
Output fields[3]
FieldType
Statusnumber
Messagestext

Delete a Subdomain

ActionEnds a subdomain and its document root.
Input fields[3]
FieldType
DomainRequired
text
Disallow Dotschoice
Output fields[3]
FieldType
Statusnumber
Messagestext

Delete an Account

ActionTerminates a hosting account.
Input fields[3]
FieldType
UsernameRequired
text
Keep DNS Zonechoice
Userchoice
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Delete an Addon Domain

ActionDeletes an addon domain and the subdomain behind it.
Input fields[3]
FieldType
DomainRequired
text
SubdomainRequired
text
Disallow Dotschoice
Output fields[3]
FieldType
Statusnumber
Messagestext

Delete an Autoresponder

ActionAutomatic reply removal for one address.
Input fields[3]
FieldType
EmailRequired
text
Output fields[3]
FieldType
Statusnumber
Messagestext

Delete an Email Account

ActionMailbox deletion including its mail.
Input fields[3]
FieldType
EmailRequired
choice
Domaintext
Flagstext
Skip Quotachoice
Output fields[3]
FieldType
Statusnumber
Messagestext

Delete an FTP Account

ActionRemoves an FTP login, optionally with its folder.
Input fields[3]
FieldType
UserRequired
text
Destroychoice
Domaintext
Output fields[3]
FieldType
Statusnumber
Messagestext

Install a Certificate

ActionSSL certificate setup for a domain.
Input fields[3]
FieldType
CertRequired
text
DomainRequired
text
Cabundletext
Domain Dcv Methodtext
Keytext
Order Item IDtext
Originating Certificate IDtext
Parent Cert Expirynumber
Vhost Namestext
Output fields[3]
FieldType
Actiontext
Cert IDtext
Domaintext
Extra Certificate Domainsarray
HTMLtext
IPtext
Key IDtext
Messagetext
Statusmsgtext
Usertext

2other output fields

Make a Whm API Call

universalFree-form cPanel Whm REST API request.
Input fields[3]
FieldType
URLRequired
text
MethodRequired
choice
Headersarray
Headerobject
Query Stringarray
Parameterobject
Bodytext
Output fields[3]
FieldType
Bodytext
Headersobject
Status Codenumber

Make an Account API Call

universalFree-form cPanel Account REST API request.
Input fields[3]
FieldType
URLRequired
text
MethodRequired
choice
Headersarray
Headerobject
Query Stringarray
Parameterobject
Bodytext
Output fields[3]
FieldType
Bodytext
Headersobject
Status Codenumber

Move a File

ActionRelocates or renames a stored file.
Input fields[3]
FieldType
DestinationRequired
text
SourceRequired
text
Output fields[3]
FieldType
Srctext
Desttext

Move a File to the Trash

ActionRecoverable deletion of a single file.
Input fields[3]
FieldType
PathRequired
text
Output fields[3]
FieldType
Pathtext
Trash Leaftext

Remove Reseller Status

ActionDemotes a reseller to a plain account.
Input fields[3]
FieldType
UserRequired
choice
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Save File Content

ActionWrites text into a file.
Input fields[3]
FieldType
FileRequired
text
Contenttext
Directorytext
Fallbackchoice
From Charsettext
To Charsettext
Output fields[3]
FieldType
From Charsettext
Pathtext
To Charsettext

Set a Default Address

ActionChooses where unmatched mail ends up.
Input fields[3]
FieldType
Forward OptionRequired
choice
Domaintext
Failure Messagetext
Forward Totext
Pipe To Programtext
Output fields[3]
FieldType
Itemsarray

Set an Account Bandwidth Limit

ActionMonthly transfer cap per account.
Input fields[3]
FieldType
UserRequired
choice
Bandwidth Limittext
Output fields[3]
FieldType
Bwlimitsarray

Set an Account Disk Quota

ActionAdjusts how much storage an account may use.
Input fields[3]
FieldType
QuotaRequired
text
UserRequired
choice
Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Set an Email Quota

ActionMailbox size limit in megabytes.
Input fields[3]
FieldType
DomainRequired
text
EmailRequired
choice
Quotatext
Output fields[3]
FieldType
Statusnumber
Messagestext

Set an FTP Quota

ActionFTP storage limit in megabytes.
Input fields[3]
FieldType
UserRequired
text
Domaintext
Killchoice
Quotanumber
Output fields[3]
FieldType
Statusnumber
Messagestext

Update a DNS Record

ActionRewrites a single DNS zone line.
Input fields[3]
FieldType
DomainRequired
choice
RecordRequired
choice
TTLRequired
number
Typechoice
Nametext
Classtext
Addresstext
CNAMEtext
Flattentext
Flatten Totext

37other input fields

Output fields[3]
FieldType
Resultnumber
Reasontext
Commandtext

Update a Plan

ActionAdjusts limits of an existing plan.
Input fields[3]
FieldType
NameRequired
text
PACKAGE EXTENSIONStext
Bandwidth Limittext
CGI Accesschoice
Themetext
Digest Authenticationchoice
Feature Listchoice
FrontPagechoice
Hasshellchoice
IP Addresschoice

5other input fields

Output fields[3]
FieldType
Pkgtext

Update an Account

ActionChanges the settings of a hosting account.
Input fields[3]
FieldType
UserRequired
choice
Account Enhancementstext
BACKUPchoice
Bandwidth Limittext
Contact Emailtext
DBOWNERtext
DISK BLOCK LIMITnumber
DNStext
Domaintext
HASCGIchoice

5other input fields

Output fields[3]
FieldType
Cpuserobject
BACKUPtext
BWLIMITtext
CONTACTEMAILtext
CONTACTEMAIL2text
DBOWNERtext
DEADDOMAINSarray
DEMOtext
DISK BLOCK LIMITtext
DOMAINtext
DOMAINSarray
Domaintext
Setshelltext
Usertext

Look for cPanel templates in the WEXTL template library.

Browse templates →
  1. WEXTL® cPanel Source Code connector implementation.
  2. Our users use cases and automations.
  3. Official API Documentation for cPanel.
  4. WEXTL® visual workflow builder data.

Last updated: Nov 29, 2026 17:02

How we write our apps documentation

How we compile these docs: sources, the role of AI, and how we verify.