Updating of Zone Information
It allows you to edit your zone details.
Parameters
Return Values
Example PHP Code
<?php $data = array( "user_key": "user_key.", "user_secret": "user_secret", "name": "name", "surname": "surname", "email": "email" ); $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://api.medianova.com/v1/account/edit", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => false, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => “PUT”, CURLOPT_POSTFIELDS => json_encode($data), CURLOPT_HTTPHEADER => array( "Content-Type: application/json" ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
Example Output
{ "status": true, "data": { "id": id, "username": "username", "name": "name", "surname": "surname", "email": "email", "notification_emails": [notification_emails], "timezone": "timezone" }, "opid": "TEt2j6Y0LqCZbzAU" }