Sitejet
Add an existing Sitejet API token.
This function adds an existing Sitejet API token to a cPanel user.
Note:
You can create a Sitejet API token with the Sitejet:create_account function.
get/Sitejet/add_api_token
Query parameters
api_tokenstring hexadecimal required
Example:d35d8ea651007ccd25f96486cdcdXXXX
The Sitejet API token to add.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "add_api_token",
"module": "Sitejet",
"result": {
"metadata": {
"transformed": 1
},
"status": 1
}
}