BuycPanel Blog

BuycPanel Blog

Latest news and updates

What is the “Manage API Tokens” Interface?

Posted by Allura on 23 11 2018.

Introduction
One is able to create, list and remove API token with the help of the Manage API Tokens interface. These API tokens help one to log in to the server where one necessarily do not need a password. One can make a use of an API token to substantiate with WHM’s remote API.

It is useful in the sense that it permits a reseller or third-party developer to run the API function calls with one’s account’s data.

The API Tokens
The API tokens have the following instructions:

 	Name: The API token’s name
 	Created: The time when one created the API token, in the format MM:DD: YYYY hh:mm: ss.
 	Actions: Decide whether or not to revoke the API token.

One needs to enter a term in the Search text box in order to search for an API token. The interface will then accordingly filter the API token name as and when one will type.

In order…

Introduction

One is able to create, list and remove API token with the help of the Manage API Tokens interface. These API tokens help one to log in to the server where one necessarily do not need a password. One can make a use of an API token to substantiate with WHM’s remote API.

It is useful in the sense that it permits a reseller or third-party developer to run the API function calls with one’s account’s data.

The API Tokens

The API tokens have the following instructions:

  • Name: The API token’s name
  • Created: The time when one created the API token, in the format MM:DD: YYYY hh:mm: ss.
  • Actions: Decide whether or not to revoke the API token.

One needs to enter a term in the Search text box in order to search for an API token. The interface will then accordingly filter the API token name as and when one will type.

In order to refresh the API tokens list, one needs to select the gear icon next to the Actions column heading and click on the Refresh list.

Create An API Token

Steps:

  1. One needs to click on Generate Token The generate token form will appear thereafter.
  2. Then one needs to enter a name for the API token in the Name text box.

It is to note that an API token name’s length can be up to 50 characters maximum and can only contain alphanumeric characters, dashes (-), and underscores (_).

  1. Lastly, one needs to click on Generate. The all-new API token, its name, its creation time will appear in the API Tokens

It must be kept in mind that one must certainly save one’s API token in a safe location in the workstation. It is because one cannot access the created token after one drives away from the interface or refresh the API tokens table.

Remove An API Token

Steps:

  1. One needs to locate the API token one wish to revoke in the API Tokens
  2. Secondly, one needs to click on Revoke under the Actions A message of confirmation will appear thereafter.
  3. To revoke the token, finally, click on Continue. In the upper-right corner of the interface, a message of success will appear confirming the revoke of the token.

Conclusion

API tokens help in logging in to the server without any password and it substantiates with WHM’s remote API. The technical steps highlighted above helps in creating and revoking the API tokens which greatly benefits the systematic working of servers.