Introduction
cPanel provides a way to limit Reseller accounts and API tokens so that the user of the reseller account or API token can only make use of certain API commands or features in WHM.
In order to help determine what permissions are required to make use of a certain API endpoint or WHM feature, we have the following guide detailing each option and what it applies to:
https://api.docs.cpanel.net/guides/guide-to-whm-plugins/guide-to-whm-plugins-acl-reference-chart/
The following steps can help guide you through the process of setting up these limits:
To Limit API Tokens
- Login to WHM as the root user
- Navigate to: Home »Development »Manage API Tokens
- Click the blue "Generate Token" button
- Enter a name for your token
- Select the permissions you wish to be available for this API Token
- Click the blue Save button
To Limit Reseller Accounts
- Login to WHM as the root user
- Navigate to: Home »Resellers »Edit Reseller Nameservers and Privileges
- Select your reseller user (If you only have one, this step is skipped automatically for you)
- Under the "Feature Limits (ACL Lists)" section ensure that only needed permissions are checked
- Optionally save your permission selections as an ACL that can be reused again later with: Save selections as a new ACL list
- Scroll to the bottom and click "Save All Settings"
Comments
0 comments
Article is closed for comments.