Sitejet
Add an existing Sitejet API token.
Changed onThis 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
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
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
}
}Changes
- info
api operation id
add_sitejet_api_tokenremoved and replaced withSitejet-add_api_token
- info