Developer Center

DeleteCNS() - Delete Child Nameserver

It is used to delete the child nameserver address of domain name, if not supported an error message appears.

public function DeleteCNS($params=[],$ns='',$ip=''){
    $domain     = idn_to_ascii($params["domain"],0,INTL_IDNA_VARIANT_UTS46);
    $ns         = idn_to_ascii($ns,0,INTL_IDNA_VARIANT_UTS46);

    $delete     = $this->api->delete_child_nameserver($domain,$ns,$ip);
        $this->error = $this->api->error;
        return false;
    return true;


  • $params Provides the value of [options] index in the $order variable in the class.
  • $ns Nameserver name, example:
  • $rope Nameserver IP address, example:

Retrieval Value;

Boolean (true or false) should be displayed.

ModifyCNS() - Child Nameserver Update ModifyWhois() - Update Whois

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel