latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Updates

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 and writes an acceptance audit record to /var/cpanel/activate/eula_acceptance.json. The audit record captures the accepting user, timestamp, remote IP address, agreement version, and agreement URLs.

Important:

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

get/accept_eula

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "accept_eula",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}