Save EULA acceptance

This function records acceptance of cPanel & WHM's legal terms. To do this, the function creates a touchfile in the /var/cpanel/activate/ directory.

Important:

Server owners must accept these agreements before they use cPanel & WHM.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/accept_eula
Request samples
whmapi1 --output=jsonpretty \
  accept_eula
Response samples
application/json
{
  • "metadata": {
    • "command": "accept_eula",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}