Managing API tokens in cPanel allows you to securely interact with your cPanel account through various applications and scripts. Here's a simple guide on how to manage API tokens:
- Log in to cPanel
Login to your cPanel login page by entering your username and password, by clicking the "Log in" button in the cPanel dashboard. - Navigate to the Security Section
Look for the "Security" section on your cPanel dashboard. Click on "Manage API Tokens." - Create a New API Token
Click the "Generate" button to create a new API token. Enter a name for your new token. Choose something that helps you remember what it’s for. Set the permissions for the token. Select the appropriate permissions based on what the token will be used for. Click "Create" to generate the token. - Copy Your API Token
Once the token is generated, copy it immediately and store it securely. You won’t be able to see it again. Keep it private and do not share it publicly. - Manage Existing API Tokens
View your existing tokens in the Manage API Tokens interface. Delete tokens that are no longer needed by clicking the "Delete" button next to the token. Edit the permissions of an existing token by clicking and adjusting the settings as needed. - Use Your API Token
Use your token in your scripts or applications to interact with your cPanel account. As specified in the relevant API documentation, include it in API queries.
These instructions will help you manage your cPanel API tokens effectively, giving different scripts and apps safe and efficient access to your account.