Nova
Add an existing AI App Builder API token
Changed onThis function adds an existing AI App Builder API token to a cPanel user.
Notes:
- This function requires that your package includes the AI App Builder feature.
- You can create an AI App Builder API token with the Nova::create_account function.
Important:
When you disable the AI App Builder feature, the system disables this function.
get/Nova/add_api_token
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Query parameters
api_tokenstring hexadecimal required
Example:d35d8ea651007ccd25f96486cdcdXXXX
The AI App Builder API token to add.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "add_api_token",
"module": "Nova",
"result": {
"metadata": {
"transformed": 1
},
"status": 1
}
}Changes
- info
endpoint added
- info