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.

Authorizations:

Responses

Response Schema: application/json
object

Request samples

whmapi1 --output=jsonpretty \
  accept_eula

Response samples

Content type
application/json
{
  • "metadata": {
    • "command": "accept_eula",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}