Delete DS records

				
					StructOperationResponse domainDSRecordDelete(string idSession, string domain, array data)
				
			

Remove DS records from a domain if it does not use NETIM’s DNS servers.

REQUIRED


  • idSession string (32)
    Session ID.
  • domain string (255)
    Domain name.
  • data array
    An array of dsData or keyData.

An Object of type StructOperationResponse

$idSession = $clientSOAP->sessionOpen('XX000', 'abc123465!');

// dsData
$domain = 'example.fr';
$data = [
    [
        'key' => 27911,
        'type' => 2,
        'algo' => 8,
        'digest' => 'b0b3f3739cf5eb01598df7bb211a3d65096c13a6b7eff712df6ed23aa66856a9'
    ],
    [
        'key' => 53225,
        'type' => 2,
        'algo' => 8,
        'digest' => '50989f9b53dae54f79f2f2a6f739933a3c4df003f10e62641fe1f3eec4b7f0f7'
    ]
];

$structOperationResponse = $clientSOAP->domainDSRecordDelete($idSession, $domain, $data);

// keyData
$domain = 'example.eu';
$data = [
    [
        'flags' => 257,
        'protocol' => 3,
        'algo' => 8,
        'pubKey' => 'AwEAAbC1gM5040jSh0/WRvdM1hgOFCBHmVix{...}',
    ],
    [
        'flags' => 257,
        'protocol' => 3,
        'algo' => 8,
        'pubKey' => 'AwEAAZgAbjFqpTVtXZ+35PAt7bXmpX3a7DU2F{...}',
    ]
];

$structOperationResponse = $clientSOAP->domainDSRecordDelete($idSession, $domain, $data);