How to Revoke an API Token in WHM?
In the Reseller account WHM API token is the feature which allows us to log in to the server without the need for a password. We can use an API token to authenticate with WHM’s remote API in your Reseller. If you want to allow a reseller or third-party developer to run API function calls with your account’s data, this API token feature is very h usfull in this case. One of the main advantages of this feature is that if you change at any cPanel account’s username in WHM, any API tokens associated with that account will continue to function. We can able to create the API token in WHM.
Kindly follow Procedure to create the API Token in WHM
[1] Login to WHM panel with username and password.
[2] Go to “Development” option.
[3] Select the option “Manage API” Tokens.
[4]In order to revoke an API token, first, you would need to locate the API token that you want to revoke in the API Tokens list. To search for an API token, enter a name in the Search text box. This will automatically filter the API token names.
[5] You can revoke the API token from the list by selecting the “Revoke” option near the API you wish to revoke. Revoke option is always under the Actions column.
[6] After choosing the revoke option, a confirmation message will appear to confirm that you really want to revoke that API. Click Continue to revoke the token.