Skip to content
Download OpenAPI description
Overview
Languages
Servers
Mock server

https://api.docs.cpanel.net/_mock/specifications/whm.openapi/

A server running WHM.

https://{host}:{port}/json-api/

Restore Account

Account Restoration / Restore Account

Operations

Restore Queue Management

Account Restoration / Restore Queue Management

Operations

Restore Queue Reporting

Account Restoration / Restore Queue Reporting

Operations

Account Creation

Accounts Creation / Accounts

Operations

Account Enhancements

Accounts / Account Enhancements

Operations

Account Management

Accounts / Account Management

Operations

Bandwidth and Disk Quotas

Accounts / Bandwidth and Disk Quotas

Operations

Domain Information

Accounts / Domain Domain Information

Operations
Operations

Styles

The Styles and Themes module for WHM API 1.

Operations
Operations

API Execution

API Development Tools / API Execution

Operations

API Statistics

API Development Tools / API Statistics

Operations

API Token Management

API Development Tools / API Token Management

Operations

Applications

API Development Tools / Applications

Operations

Session

API Development Tools / Session

Operations

Authentication Providers

Authentication / Authentication Providers

Operations

External Authentication

Authentication / External Authentication

Operations

Login URL

Authentication / Login URL

Operations

SSH Keys and Connections

Authentication / SSH Keys and Connections

Operations

Two-Factor Authentication

Authentication / Two-Factor Authentication

Operations

Backup Destination

Backups / Backup Destination

Operations

Backup or Restore

Backups / Backup or Restore

Operations

Backup Settings

Backups / Backup Settings

Operations

Legacy Migration

Backups / Legacy Migration

Operations

Market Integration

Commerce Integration / Market Integration

Operations

Sitejet

The Sitejet module for WHM API.

Operations

Product Management

cPanel Market / Product Management

Operations

Provider Management

cPanel Market / Provider Management

Operations

Support Access

cPanel Support Tickets / Support Access

Operations

Ticket Management

cPanel Support Tickets / Ticket Management

Operations

Customizations

The Customizations module for WHM API 1.

Operations

Manage MySQL Server

Databases / Manage MySQL Server

Operations

MySQL Databases

Databases / MySQL Databases

Operations

PostgreSQL Databases

Databases / PostgreSQL Databases

Operations

Remote MySQL Databases

Databases / Remote MySQL Databases

Operations

DNS Cluster Settings

DNS / DNS Cluster Settings

Operations
Operations
Operations

Domain Management

DNS / Domain Management

Operations

Domain Management

DNS / Domain Management

Operations
Operations

Service Records

DNS / Service Records

Operations

Feature Access

Hosting Plans / Feature Access

Operations

Feature Lists

Hosting Plans / Feature Lists

Operations

Hosting Plan Extensions

Hosting Plans / Hosting Plan Extensions

Operations

Hosting Plans

Hosting Plans / Hosting Plans

Operations

InProductSurvey

In-product survey information.

Operations

API Authentication

Integrations / API Authentication

Operations

Scripts Hooks

Integrations / Scripts Hooks

Operations

IPv4 Address Settings

IP Address Management / IPv4 Address Settings

Operations

IPv6 Address Settings

IP Address Management / IPv6 Address Settings

Operations

Network Address Translation

IP Address Management / Network Address Translation

Operations

Management

Login Security (cPHulk) / Management

Operations

Reporting

Login Security (cPHulk) / Reporting

Operations

Settings

Login Security (cPHulk) / Settings

Operations

cPanel Account Mail Management

Mail / cPanel Account Mail Management

Operations

Mail DNS Settings

Mail / Mail DNS Settings

Operations

Mail Server Settings

Mail / Mail Server Settings

Operations

Spam Management

Mail / Spam Management

Operations

Spam Protection (Greylisting)

Mail / Spam Protection (Greylisting)

Operations

NGINX Manager

The NGINX Manager module for WHM API 1.

Operations

Account Enhancement Limit

Resellers / Account Enhancement Limit

Operations

Account Limits

Resellers / Account Limits

Operations

Account Permissions

Resellers / Account Permissions

Operations

Return all privilege lists and settings

Request

This function lists the server's Access Control Lists (ACLs) and each list's privileges.

Security
BasicAuth
curl -i -X GET \
  -u <username>:<password> \
  https://api.docs.cpanel.net/_mock/specifications/whm.openapi/listacls

Responses

HTTP Request was successful.

Bodyapplication/json
dataobject
metadataobject
Response
application/json
{ "data": { "acl": [] }, "metadata": { "command": "listacls", "reason": "OK", "result": 1, "version": 1 } }

Create or update privilege list and settings

Request

This function creates or modifies an Access Control List (ACL).

Note:

For each acl-* parameter, a value of 1 adds that privilege to the ACL list and a value of 0 removes that privilege from the ACL list.

Warning:

We strongly recommend that WHM users create and edit ACLs and ACL privileges through WHM's Edit Reseller Nameservers and Privileges interface ( WHM >> Home >> Resellers >> Edit Reseller Nameservers and Privileges ).

Security
BasicAuth
Query
aclliststringrequired

The ACL to assign to the reseller.

Note:

To modify an existing ACL, set this value to that ACL's name.

Example: acllist=my_acl_list
acl-acct-summaryinteger

Whether to allow the reseller to view an account summary.

Default 0
Enum01
Example: acl-acct-summary=1
acl-add-pkginteger

Whether to allow the reseller to add and remove hosting plans (packages).

Default 0
Enum01
Example: acl-add-pkg=1
acl-add-pkg-ipinteger

Whether to allow the reseller to create packages with a dedicated IP address.

Default 0
Enum01
Example: acl-add-pkg-ip=1
acl-add-pkg-shellinteger

Whether to allow the reseller to create packages with shell access.

Default 0
Enum01
Example: acl-add-pkg-shell=1
acl-allinteger

Whether to grant the reseller all privileges.

Warning:

A value of 1 grants root-level privileges to the reseller.

Default 0
Enum01
Example: acl-all=1
acl-allow-addoncreateinteger

Whether to allow the reseller to create packages with addon domains.

Default 0
Enum01
Example: acl-allow-addoncreate=1
acl-allow-emaillimits-pkgsinteger

Whether to allow the reseller to create packages with custom email quotas.

Default 0
Enum01
Example: acl-allow-emaillimits-pkgs=1
acl-allow-parkedcreateinteger

Whether to allow the reseller to create packages with parked domains (aliases).

Default 0
Enum01
Example: acl-allow-parkedcreate=1
acl-allow-shellinteger

Whether to allow the reseller to create accounts with shell access.

Default 0
Enum01
Example: acl-allow-shell=1
acl-allow-unlimited-bw-pkgsinteger

Whether to allow the reseller to create packages with unlimited bandwidth.

Default 0
Enum01
Example: acl-allow-unlimited-bw-pkgs=1
acl-allow-unlimited-disk-pkgsinteger

Whether to allow the reseller to create packages with unlimited disk space.

Default 0
Enum01
Example: acl-allow-unlimited-disk-pkgs=1
acl-allow-unlimited-pkgsinteger

Whether to allow the reseller to create packages with unlimited features.

Default 0
Enum01
Example: acl-allow-unlimited-pkgs=1
acl-basic-system-infointeger

Whether to allow the reseller to retrieve basic system information.

Default 0
Enum01
Example: acl-basic-system-info=1
acl-basic-whm-functionsinteger

Whether to allow the reseller to access basic cPanel & WHM options.

Default 0
Enum01
Example: acl-basic-whm-functions=1
acl-clusteringinteger

Whether to allow the reseller to use DNS clusters.

Default 0
Enum01
Example: acl-clustering=1
acl-cors-proxy-getinteger

Whether to allow the reseller to perform Cross-Origin Resource Sharing (CORS) HTTP requests.

Default 0
Enum01
Example: acl-cors-proxy-get=1
acl-cpanel-apiinteger

Whether to allow the reseller to execute cPanel API 1, cPanel API 2 and UAPI functions via WHM.

Default 0
Enum01
Example: acl-cpanel-api=1
acl-cpanel-integrationinteger

Whether to allow the reseller to manage how their server and its services connect to other servers and services.

Default 0
Enum01
Example: acl-cpanel-integration=1
acl-create-acctinteger

Whether to allow the reseller to create accounts.

Default 0
Enum01
Example: acl-create-acct=1
acl-create-dnsinteger

Whether to allow the reseller to add DNS zones.

Default 0
Enum01
Example: acl-create-dns=1
acl-create-user-sessioninteger

Whether to allow the reseller to create a temporary user session for a specified service.

Notes:

This privilege allows an API token user to bypass any restrictions that you set on the API token. For more information, read our Manage API Tokens documentation.

Default 0
Enum01
Example: acl-create-user-session=1
acl-demo-setupinteger

Whether to allow the reseller to enable demo mode for accounts.

Default 0
Enum01
Example: acl-demo-setup=1
acl-digest-authinteger

Whether to allow the reseller to manage Digest Authentication support.

Default 0
Enum01
Example: acl-digest-auth=1
acl-edit-accountinteger

Whether to allow the reseller to edit accounts.

Default 0
Enum01
Example: acl-edit-account=1
acl-edit-dnsinteger

Whether to allow the reseller to edit DNS zones.

Default 0
Enum01
Example: acl-edit-dns=1
acl-edit-mxinteger

Whether to allow the reseller to edit MX entries.

Default 0
Enum01
Example: acl-edit-mx=1
acl-edit-pkginteger

Whether to allow the reseller to edit hosting plans (packages).

Default 0
Enum01
Example: acl-edit-pkg=1
acl-generate-email-configinteger

Whether to allow the reseller to generate a mobile configuration profile for an email account.

Default 0
Enum01
Example: acl-generate-email-config=1
acl-kill-acctinteger

Whether to allow the reseller to terminate accounts.

Default 0
Enum01
Example: acl-kill-acct=1
acl-kill-dnsinteger

Whether to allow the reseller to remove DNS zones.

Default 0
Enum01
Example: acl-kill-dns=1
acl-limit-bandwidthinteger

Whether to allow the reseller to modify bandwidth limits (quotas).

Warning:

If you do not use resource limits, a value of 1 allows resellers to circumvent package limits for disk space.

Default 0
Enum01
Example: acl-limit-bandwidth=1
acl-list-acctsinteger

Whether to allow the reseller to view the list of accounts.

Default 0
Enum01
Example: acl-list-accts=1
acl-list-pkgsinteger

Whether to allow the reseller to view existing hosting plans (packages).

Default 0
Enum01
Example: acl-list-pkgs=1
acl-locale-editinteger

Whether to allow the reseller to create and modify locales on the server.

Default 0
Enum01
Example: acl-locale-edit=1
acl-mailcheckinteger

Whether to allow the reseller to troubleshoot mail delivery.

Default 0
Enum01
Example: acl-mailcheck=1
acl-manage-api-tokensinteger

Whether to allow the reseller to manage API tokens.

Notes:

This privilege allows an API token user to bypass any restrictions that you set on the API token. For more information, read our Manage API Tokens documentation.

Default 0
Enum01
Example: acl-manage-api-tokens=1
acl-manage-dns-recordsinteger

Whether to allow the reseller to manage DNS records.

Default 0
Enum01
Example: acl-manage-dns-records=1
acl-manage-oidcinteger

Whether to allow the reseller to manage external authentication for their accounts.

Default 0
Enum01
Example: acl-manage-oidc=1
acl-manage-stylesinteger

Whether to allow the reseller to manage their server's cPanel styles.

Default 0
Enum01
Example: acl-manage-styles=1
acl-mysql-infointeger

Whether to allow the reseller to retrieve MySQL® database and user data.

Default 0
Enum01
Example: acl-mysql-info=1
acl-newsinteger

Whether to allow the reseller to modify the server's news.

Default 0
Enum01
Example: acl-news=1
acl-ns-configinteger

Whether to allow the reseller to manage nameservers.

Default 0
Enum01
Example: acl-ns-config=1
acl-park-dnsinteger

Whether to allow the reseller to park DNS zones.

Default 0
Enum01
Example: acl-park-dns=1
acl-passwdinteger

Whether to allow the reseller to change passwords.

Note:

This privilege allows an API token user to change account passwords and log in with a new password. For more information, read our Manage API Tokens documentation.

Default 0
Enum01
Example: acl-passwd=1
acl-quotainteger

Whether to allow the reseller to modify quotas.

Warning:

If you do not use resource limits, this privilege allows resellers to circumvent package limits for disk space.

Default 0
Enum01
Example: acl-quota=1
acl-rearrange-acctsinteger

Whether to allow the reseller to rearrange accounts.

Default 0
Enum01
Example: acl-rearrange-accts=1
acl-resftpinteger

Whether to allow the reseller to resync FTP passwords.

Default 0
Enum01
Example: acl-resftp=1
acl-restartinteger

Whether to allow the reseller to restart services.

Default 0
Enum01
Example: acl-restart=1
acl-show-bandwidthinteger

Whether to allow the reseller to view account bandwidth usage.

Default 0
Enum01
Example: acl-show-bandwidth=1
acl-sslinteger

Whether to allow the reseller to perform SSL site management.

Default 0
Enum01
Example: acl-ssl=1
acl-ssl-buyinteger

Whether to allow the reseller to purchase SSL certificates.

Default 0
Enum01
Example: acl-ssl-buy=1
acl-ssl-gencrtinteger

Whether to allow the reseller to generate SSL certificates.

Default 0
Enum01
Example: acl-ssl-gencrt=1
acl-ssl-infointeger

Whether to allow the reseller to view their server's SSL information.

Default 0
Enum01
Example: acl-ssl-info=1
acl-statsinteger

Whether to allow the reseller to view server information.

Default 0
Enum01
Example: acl-stats=1
acl-statusinteger

Whether to allow the reseller to view the server's status.

Default 0
Enum01
Example: acl-status=1
acl-suspend-acctinteger

Whether to allow the reseller to suspend or unsuspend accounts.

Default 0
Enum01
Example: acl-suspend-acct=1
acl-thirdpartyinteger

Whether to allow the reseller to manage third-party services.

Default 0
Enum01
Example: acl-thirdparty=1
acl-track-emailinteger

Whether to allow the reseller to view reports about email message delivery attempts from their account.

Default 0
Enum01
Example: acl-track-email=1
acl-upgrade-accountinteger

Whether to allow the reseller to upgrade or downgrade accounts.

Default 0
Enum01
Example: acl-upgrade-account=1
acl-viewglobalpackagesinteger

Whether to allow the reseller to use all global packages. For more information, read our reseller packages documentation.

Default 0
Enum01
Example: acl-viewglobalpackages=1
curl -i -X GET \
  -u <username>:<password> \
  'https://api.docs.cpanel.net/_mock/specifications/whm.openapi/saveacllist?acllist=my_acl_list&acl-acct-summary=1&acl-add-pkg=1&acl-add-pkg-ip=1&acl-add-pkg-shell=1&acl-all=1&acl-allow-addoncreate=1&acl-allow-emaillimits-pkgs=1&acl-allow-parkedcreate=1&acl-allow-shell=1&acl-allow-unlimited-bw-pkgs=1&acl-allow-unlimited-disk-pkgs=1&acl-allow-unlimited-pkgs=1&acl-basic-system-info=1&acl-basic-whm-functions=1&acl-clustering=1&acl-cors-proxy-get=1&acl-cpanel-api=1&acl-cpanel-integration=1&acl-create-acct=1&acl-create-dns=1&acl-create-user-session=1&acl-demo-setup=1&acl-digest-auth=1&acl-edit-account=1&acl-edit-dns=1&acl-edit-mx=1&acl-edit-pkg=1&acl-generate-email-config=1&acl-kill-acct=1&acl-kill-dns=1&acl-limit-bandwidth=1&acl-list-accts=1&acl-list-pkgs=1&acl-locale-edit=1&acl-mailcheck=1&acl-manage-api-tokens=1&acl-manage-dns-records=1&acl-manage-oidc=1&acl-manage-styles=1&acl-mysql-info=1&acl-news=1&acl-ns-config=1&acl-park-dns=1&acl-passwd=1&acl-quota=1&acl-rearrange-accts=1&acl-resftp=1&acl-restart=1&acl-show-bandwidth=1&acl-ssl=1&acl-ssl-buy=1&acl-ssl-gencrt=1&acl-ssl-info=1&acl-stats=1&acl-status=1&acl-suspend-acct=1&acl-thirdparty=1&acl-track-email=1&acl-upgrade-account=1&acl-viewglobalpackages=1'

Responses

HTTP Request was successful.

Bodyapplication/json
metadataobject
Response
application/json
{ "metadata": { "command": "saveacllist", "reason": "ACL List my_acl_list saved.", "result": 1, "version": 1 } }

Create or update reseller privilege settings

Request

This function creates or modifies an Access Control List (ACL).

Note:

For each acl-* parameter, any value adds that privilege to the ACL list and no value removes that privilege from the ACL list.

Warning:

We strongly recommend that WHM users create and edit ACLs and ACL privileges through WHM's Edit Reseller Nameservers and Privileges interface ( WHM >> Home >> Resellers >> Edit Reseller Nameservers and Privileges ).

Security
BasicAuth
Query
resellerstring(username)required

The reseller's username.

Example: reseller=username
acl-acct-summaryinteger

Whether to allow the reseller to view an account summary.

Value1
Example: acl-acct-summary=1
acl-add-pkginteger

Whether to allow the reseller to add and remove hosting plans (packages).

Value1
Example: acl-add-pkg=1
acl-add-pkg-ipinteger

Whether to allow the reseller to create packages with a dedicated IP address.

Value1
Example: acl-add-pkg-ip=1
acl-add-pkg-shellinteger

Whether to allow the reseller to create packages with shell access.

Value1
Example: acl-add-pkg-shell=1
acl-allinteger

Whether to grant the reseller all ACL privileges.

Warning:

A value of 1 grants root-level privileges to the reseller.

Value1
Example: acl-all=1
acl-allow-addoncreateinteger

Whether to allow the reseller to create packages with addon domains.

Value1
Example: acl-allow-addoncreate=1
acl-allow-parkedcreateinteger

Whether to allow the reseller to create packages with parked domains (aliases).

Value1
Example: acl-allow-parkedcreate=1
acl-allow-unlimited-bw-pkgsinteger

Whether to allow the reseller to create packages with unlimited bandwidth.

Value1
Example: acl-allow-unlimited-bw-pkgs=1
acl-allow-unlimited-disk-pkgsinteger

Whether to allow the reseller to create packages with unlimited disk space.

Value1
Example: acl-allow-unlimited-disk-pkgs=1
acl-allow-unlimited-pkgsinteger

Whether to allow the reseller to create packages with unlimited features.

Value1
Example: acl-allow-unlimited-pkgs=1
acl-basic-system-infointeger

Whether to allow the reseller to retrieve basic system information.

Value1
Example: acl-basic-system-info=1
acl-basic-whm-functionsinteger

Whether to allow the reseller to access basic cPanel & WHM options.

Value1
Example: acl-basic-whm-functions=1
acl-clusteringinteger

Whether to allow the reseller to use DNS clusters.

Value1
Example: acl-clustering=1
acl-cors-proxy-getinteger

Whether to allow the reseller to perform Cross-Origin Resource Sharing (CORS) HTTP requests.

Value1
Example: acl-cors-proxy-get=1
acl-cpanel-apiinteger

Whether to allow the reseller to execute cPanel API 1, cPanel API 2 and UAPI functions via WHM.

Value1
Example: acl-cpanel-api=1
acl-cpanel-integrationinteger

Whether to allow the reseller to manage how their server and its services connect to other servers and services.

Value1
Example: acl-cpanel-integration=1
acl-create-acctinteger

Whether to allow the reseller to create accounts.

Value1
Example: acl-create-acct=1
acl-create-dnsinteger

Whether to allow the reseller to add DNS zones.

Value1
Example: acl-create-dns=1
acl-create-user-sessioninteger

Whether to allow the reseller to create a temporary session user for a specified service.

Note:

This privilege allows an API token user to bypass any restrictions that you set on the API token. For more information, read our Manage API Tokens documentation.

Value1
Example: acl-create-user-session=1
acl-demo-setupinteger

Whether to allow the reseller to enable demo mode for accounts.

Value1
Example: acl-demo-setup=1
acl-digest-authinteger

Whether to allow the reseller to manage Digest Authentication support.

Value1
Example: acl-digest-auth=1
acl-disallow-shellinteger

Whether to allow the reseller to create accounts with shell access.

Value1
Example: acl-disallow-shell=1
acl-edit-accountinteger

Whether to allow the reseller to edit accounts.

Value1
Example: acl-edit-account=1
acl-edit-dnsinteger

Whether to allow the reseller to edit DNS zones.

Value1
Example: acl-edit-dns=1
acl-edit-mxinteger

Whether to allow the reseller to edit MX entries.

Value1
Example: acl-edit-mx=1
acl-edit-pkginteger

Whether to allow the reseller to edit hosting plans (packages).

Value1
Example: acl-edit-pkg=1
acl-generate-email-configinteger

Whether to allow the reseller to generate a mobile configuration profile for an email account.

Value1
Example: acl-generate-email-config=1
acl-kill-acctinteger

Whether to allow the reseller to terminate accounts.

Value1
Example: acl-kill-acct=1
acl-kill-dnsinteger

Whether to allow the reseller to remove DNS zones.

Value1
Example: acl-kill-dns=1
acl-limit-bandwidthinteger

Whether to allow the reseller to modify bandwidth limits (quotas).

Warning:

If you do not use resource limits, a value of 1 allows resellers to circumvent package limits for disk space.

Value1
Example: acl-limit-bandwidth=1
acl-list-acctsinteger

Whether to allow the reseller to view the list of accounts.

Value1
Example: acl-list-accts=1
acl-list-pkgsinteger

Whether to allow the reseller to view existing hosting plans (packages).

Value1
Example: acl-list-pkgs=1
acl-locale-editinteger

Whether to allow the reseller to create and modify locales on the server.

Value1
Example: acl-locale-edit=1
acl-mailcheckinteger

Whether to allow the reseller to troubleshoot mail delivery.

Value1
Example: acl-mailcheck=1
acl-manage-api-tokensinteger

Whether to allow the reseller to manage API tokens.

Note:

This privilege allows an API token user to bypass any restrictions that you set on the API token. For more information, read our Manage API Tokens documentation.

Value1
Example: acl-manage-api-tokens=1
acl-manage-dns-recordsinteger

Whether to allow the reseller to manage DNS records.

Value1
Example: acl-manage-dns-records=1
acl-manage-oidcinteger

Whether to allow the reseller to manage external authentication for their accounts.

Value1
Example: acl-manage-oidc=1
acl-manage-stylesinteger

Whether to allow the reseller to manage their server's cPanel styles.

Value1
Example: acl-manage-styles=1
acl-mysql-infointeger

Whether to allow the reseller to retrieve MySQL® database and user data.

Value1
Example: acl-mysql-info=1
acl-nameserver-configinteger

Whether to allow the reseller to manage nameservers.

Value1
Example: acl-nameserver-config=1
acl-newsinteger

Whether to allow the reseller to modify the server's news.

Value1
Example: acl-news=1
acl-park-dnsinteger

Whether to allow the reseller to park DNS zones.

Value1
Example: acl-park-dns=1
acl-passwdinteger

Whether to allow the reseller to change passwords.

Note:

This privilege allows an API token user to change account passwords and log in with a new password. For more information, read our Manage API Tokens documentation.

Value1
Example: acl-passwd=1
acl-quotainteger

Whether to allow the reseller to modify quotas.

Warning:

If you do not use resource limits, a value of 1 allows resellers to circumvent package limits for disk space.

Value1
Example: acl-quota=1
acl-rearrange-acctsinteger

Whether to allow the reseller to rearrange accounts.

Value1
Example: acl-rearrange-accts=1
acl-resftpinteger

Whether to allow the reseller to resync FTP passwords.

Value1
Example: acl-resftp=1
acl-restartinteger

Whether to allow the reseller to restart services.

Value1
Example: acl-restart=1
acl-show-bandwidthinteger

Whether to allow the reseller to view account bandwidth usage.

Value1
Example: acl-show-bandwidth=1
acl-sslinteger

Whether to allow the reseller to perform SSL site management.

Value1
Example: acl-ssl=1
acl-ssl-buyinteger

Whether to allow the reseller to purchase SSL certificates.

Value1
Example: acl-ssl-buy=1
acl-ssl-gencrtinteger

Whether to allow the reseller to generate SSL certificates.

Value1
Example: acl-ssl-gencrt=1
acl-ssl-infointeger

Whether to allow the reseller to view their server's SSL information.

Value1
Example: acl-ssl-info=1
acl-statsinteger

Whether to allow the reseller to view server information.

Value1
Example: acl-stats=1
acl-statusinteger

Whether to allow the reseller to view the server's status.

Value1
Example: acl-status=1
acl-suspend-acctinteger

Whether to allow the reseller to suspend or unsuspend accounts.

Value1
Example: acl-suspend-acct=1
acl-thirdpartyinteger

Whether to allow the reseller to manage third-party services.

Value1
Example: acl-thirdparty=1
acl-track-emailinteger

Whether to allow the reseller to view reports about email message delivery attempts from their account.

Value1
Example: acl-track-email=1
acl-upgrade-accountinteger

Whether to allow the reseller to upgrade or downgrade accounts.

Value1
Example: acl-upgrade-account=1
acl-viewglobalpackagesinteger

Whether to allow the reseller to use all global packages. For more information, read our reseller packages documentation.

Value1
Example: acl-viewglobalpackages=1
aclliststring

The ACL to assign to the reseller.

Warning:

Functions should either use this parameter, or a combination of the acl-* parameters below. Do not include both in a single function.

Example: acllist=my_acl_list
userstring(username)

The reseller's username.

Note:

This parameter is an alias for reseller and is provided for backwards compatibility.

Example: user=username
curl -i -X GET \
  -u <username>:<password> \
  'https://api.docs.cpanel.net/_mock/specifications/whm.openapi/setacls?reseller=username&acl-acct-summary=1&acl-add-pkg=1&acl-add-pkg-ip=1&acl-add-pkg-shell=1&acl-all=1&acl-allow-addoncreate=1&acl-allow-parkedcreate=1&acl-allow-unlimited-bw-pkgs=1&acl-allow-unlimited-disk-pkgs=1&acl-allow-unlimited-pkgs=1&acl-basic-system-info=1&acl-basic-whm-functions=1&acl-clustering=1&acl-cors-proxy-get=1&acl-cpanel-api=1&acl-cpanel-integration=1&acl-create-acct=1&acl-create-dns=1&acl-create-user-session=1&acl-demo-setup=1&acl-digest-auth=1&acl-disallow-shell=1&acl-edit-account=1&acl-edit-dns=1&acl-edit-mx=1&acl-edit-pkg=1&acl-generate-email-config=1&acl-kill-acct=1&acl-kill-dns=1&acl-limit-bandwidth=1&acl-list-accts=1&acl-list-pkgs=1&acl-locale-edit=1&acl-mailcheck=1&acl-manage-api-tokens=1&acl-manage-dns-records=1&acl-manage-oidc=1&acl-manage-styles=1&acl-mysql-info=1&acl-nameserver-config=1&acl-news=1&acl-park-dns=1&acl-passwd=1&acl-quota=1&acl-rearrange-accts=1&acl-resftp=1&acl-restart=1&acl-show-bandwidth=1&acl-ssl=1&acl-ssl-buy=1&acl-ssl-gencrt=1&acl-ssl-info=1&acl-stats=1&acl-status=1&acl-suspend-acct=1&acl-thirdparty=1&acl-track-email=1&acl-upgrade-account=1&acl-viewglobalpackages=1&acllist=my_acl_list&user=username'

Responses

HTTP Request was successful.

Bodyapplication/json
dataobject
metadataobject
Response
application/json
{ "data": { "acl": [] }, "metadata": { "command": "setacls", "reason": "OK", "result": 1, "version": 1 } }

Account Settings

Resellers / Account Settings

Operations

Reseller Account Management

Resellers / Account Management

Operations
Operations

Configuration Clusters

Server Administration / Configuration Clusters

Operations

Configurations

Server Administration / Configurations

Operations

Connected Applications

Server Administration / Connected Applications

Operations

Connections

Server Administration / Connections

Operations

cPanel Analytics

The cPanel Analytics module for WHM API 1.

Operations

License Management

The Server Administration module for WHM API 1.

Operations

Notifications

Server Administration / Notifications

Operations

Plugin-Based Features

The plugin-based features module for WHM API 1.

Operations

Security

The Security module for WHM API 1.

Operations

Server Nodes

Server Administration / Server Nodes

Operations

Server Profiles

Server Administration / Server Profiles

Operations

Services

Server Administration / Services

Operations

System Information

The Server Administration module for WHM API 1.

Operations

Updates

Server Administration / Updates

Operations

Auto-Generated Certificates

SSL Certificates / Auto-Generated Certificates

Operations

cPanel Account Settings

SSL Certificates / cPanel Account Settings

Operations

SSL Server Settings

SSL Certificates / SSL Server Settings

Operations

Install or Uninstall Package

System Package Management / Install or Uninstall Package

Operations

List Package Information

System Package Management / List Package Information

Operations

Package Manager Settings

System Package Management / Package Manager Settings

Operations

cPanel Account Transfer

Transfers / cPanel Account Transfer

Operations

Transfer Configuration

Transfers / Transfer Configuration

Operations

Transfer Monitoring

Transfers / Transfer Monitoring

Operations

UserData

Scoped userdata storage functions.

Operations

EasyApache Settings

Web Server Configuration / EasyApache Settings

Operations
Operations

PHP-FPM

Web Server Configuration / PHP-FPM

Operations

Rule Settings

Web Server Security (ModSecurity) / Rule Settings

Operations

Rule Vendor Settings

Web Server Security (ModSecurity) / Rule Vendor Settings

Operations

Server Settings

Web Server Security (ModSecurity) / Server Settings

Operations