Get Virtualizor

Reset Email Template

The email template consists of the content of the email which will be sent to the admin/user when operations such as creation of VPS and deletion of VPS takes place. You can edit the email templates as per your requirement using the Edit Email Template API or from the panel.

To restore the email templates to their default values, you can use the Reset Email Template API.

HTTP Request



actGETeditemailtempThe action will edit the templateYes
tempGETtextThe name of the email template to be resetYes
resetGETtextThe name of the email template to be resetYes

Sample Code



    $key =  'your_api_key';
    $pass = 'your_api_pass';
    $ip = 'your_server_ip';

    $admin = new Virtualizor_Admin_API($ip, $key, $pass);

    $post = array();
    $post['reset'] = 'unsuspend_users';
    $post['temp'] = 'unsuspend_users';

    $output = $admin->resetemailtemp($post);



    "title": "Edit Email Template",
    "emailtemp": null,
    "timenow": 1536253321,
    "time_taken": "0.239"
    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list