API Commands
[All Commands]

Command: Unsign_DNS_Zone



command Unsign_DNS_Zone

Deactivate DNSSEC

Input Parameters ($data):

string ssid Token from Login
string domain Domain name

Output Responses:

string status ok - DNSSEC has been deactivated | error - DNSSEC has not been deactivated
 


Sample:


<?php
$client 
= new SoapClient(
        
null
        array(
            
"location" => "https://PRODUCTION/soap/cmd.php",
            
"uri" => "http://PRODUCTION/soap"
            
)
        );

$params = array ( 
        
"data" => array (
        
"login" => "demo",
        
"password" => "password",
    )
);

$response $client->__call("Login",$params);

$token $response["data"]["ssid"];

unset(
$params);

$params = array (
        
"data" => array (
        
"ssid" => $token,
        
"domain" => "domain.test"
      
)
   );

$response $client->__call("Unsign_DNS_Zone",$params);

?>
INPUT: [data] => Array ( [ssid] => 29ae201e12b466c7347a29 [domain] =>  domain.test ) OUTPUT: [status] => ok OUTPUT (with errors): [status] => error [error] => Array ( [errormsg] => Domain does not exist [errorcode] => Array ( [major] => 507 [minor] => 1009 ) )

API Manual - version from 2023-05-12 12:15:50