Description

This function records acceptance of cPanel & WHM's legal terms.

 To do this, the function creates a touchfile in the /var/cpanel/activate/ directory.

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


Examples 




https://hostname.example.com:2087/cpsess##########/json-api/accept_eula?api.version=1




whmapi1 accept_eula


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


Parameters

This function does not accept parameters.

Returns

This function only returns metadata.