Geoblock Delete

This operation allows you to delete Geoblocks for your stream live zone.

Parameters

Example PHP Code

<?php
$curl_post_data = array(    
'user_key'   => 'Your User Key',    
'user_secret'  =>'Your User Secret',    
'rule_ids' => ['rule_id1', 'rule_id2']);
$request_body = json_encode($curl_post_data);
$service_url = 'https://api.medianova.com/v1/geoblocking/delete';
$ch = curl_init($service_url);curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE");                                                                    
curl_setopt($ch, CURLOPT_POSTFIELDS, $request_body);                                                                 
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);                                                                     
curl_setopt($ch, CURLOPT_HTTPHEADER, array(                                                                             
'Content-Type: application/json',                                                                                   
'Content-Length: ' . strlen($request_body))                                                                      
);
$response = curl_exec($ch);$decoded = json_decode($response);
var_dump($decoded);

Example Output

{    
"status": true,    
"opid": 
"576UWnEydPJfXAYB"
}