latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Resellers
Account Permissions

Create or update reseller privilege settings

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 ).

get/setacls

Query parameters

resellerstring username required
Example:username

The reseller's username.

acl-acct-summary1
Example:1

Whether to allow the reseller to view an account summary.

acl-add-pkg1
Example:1

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

acl-add-pkg-ip1
Example:1

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

acl-add-pkg-shell1
Example:1

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

acl-all1
Example:1

Whether to grant the reseller all ACL privileges.

Warning:

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

acl-allow-addoncreate1
Example:1

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

acl-allow-parkedcreate1
Example:1

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

acl-allow-unlimited-bw-pkgs1
Example:1

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

acl-allow-unlimited-disk-pkgs1
Example:1

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

acl-allow-unlimited-pkgs1
Example:1

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

acl-basic-system-info1
Example:1

Whether to allow the reseller to retrieve basic system information.

acl-basic-whm-functions1
Example:1

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

acl-clustering1
Example:1

Whether to allow the reseller to use DNS clusters.

acl-cors-proxy-get1
Example:1

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

acl-cpanel-api1
Example:1

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

acl-cpanel-integration1
Example:1

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

acl-create-acct1
Example:1

Whether to allow the reseller to create accounts.

acl-create-dns1
Example:1

Whether to allow the reseller to add DNS zones.

acl-create-user-session1
Example:1

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.

acl-demo-setup1
Example:1

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

acl-digest-auth1
Example:1

Whether to allow the reseller to manage Digest Authentication support.

acl-disallow-shell1
Example:1

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

acl-edit-account1
Example:1

Whether to allow the reseller to edit accounts.

acl-edit-dns1
Example:1

Whether to allow the reseller to edit DNS zones.

acl-edit-mx1
Example:1

Whether to allow the reseller to edit MX entries.

acl-edit-pkg1
Example:1

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

acl-generate-email-config1
Example:1

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

acl-kill-acct1
Example:1

Whether to allow the reseller to terminate accounts.

acl-kill-dns1
Example:1

Whether to allow the reseller to remove DNS zones.

acl-limit-bandwidth1
Example:1

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.

acl-list-accts1
Example:1

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

acl-list-pkgs1
Example:1

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

acl-locale-edit1
Example:1

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

acl-mailcheck1
Example:1

Whether to allow the reseller to troubleshoot mail delivery.

acl-manage-api-tokens1
Example:1

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.

acl-manage-dns-records1
Example:1

Whether to allow the reseller to manage DNS records.

acl-manage-oidc1
Example:1

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

acl-manage-styles1
Example:1

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

acl-mysql-info1
Example:1

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

acl-nameserver-config1
Example:1

Whether to allow the reseller to manage nameservers.

acl-news1
Example:1

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

acl-park-dns1
Example:1

Whether to allow the reseller to park DNS zones.

acl-passwd1
Example:1

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.

acl-quota1
Example:1

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.

acl-rearrange-accts1
Example:1

Whether to allow the reseller to rearrange accounts.

acl-resftp1
Example:1

Whether to allow the reseller to resync FTP passwords.

acl-restart1
Example:1

Whether to allow the reseller to restart services.

acl-show-bandwidth1
Example:1

Whether to allow the reseller to view account bandwidth usage.

acl-ssl1
Example:1

Whether to allow the reseller to perform SSL site management.

acl-ssl-buy1
Example:1

Whether to allow the reseller to purchase SSL certificates.

acl-ssl-gencrt1
Example:1

Whether to allow the reseller to generate SSL certificates.

acl-ssl-info1
Example:1

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

acl-stats1
Example:1

Whether to allow the reseller to view server information.

acl-status1
Example:1

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

acl-suspend-acct1
Example:1

Whether to allow the reseller to suspend or unsuspend accounts.

acl-thirdparty1
Example:1

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

acl-track-email1
Example:1

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

acl-upgrade-account1
Example:1

Whether to allow the reseller to upgrade or downgrade accounts.

acl-viewglobalpackages1
Example:1

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

aclliststring
Example:my_acl_list

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.

userstring username
Example:username

The reseller's username.

Note:

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

Response

HTTP Request was successful.

Example response

{
  "data": {
    "acl": [
      "all"
    ]
  },
  "metadata": {
    "command": "setacls",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}