Enable Technical Support Agreement acceptance

This function records a user's acceptance of the Technical Support Agreement (TSA). The cPanel Customer Portal stores each record with the user's login, the date and time, and the TSA's version.

Note:

This function is not available through the command line. You must call it as a request body.

SecurityBasicAuth
Request
query Parameters
version
required
string

The version of the TSA that the user approved.

Example: version=2020-04.v01.TSUPPORT
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/ticket_update_service_agreement_approval
Request samples
https://hostname.example.com:2087/cpsess##########/json-api/ticket_update_service_agreement_approval?api.version=1&version=2020-04.v01.TSUPPORT
Response samples
application/json
{
  • "metadata": {
    • "command": "ticket_update_service_agreement_approval",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}