Delete nsgroup[Link]
Purpose
to delete a name server group.
The structure of the command is identical to that of a <delete> contact:
<nsgroup:name> is required. Contains the name of the name server group.
Please refer to the examples to see a complete request.
Examples[Link]
A delete nsgroup command looks like:
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:nsgroup="http://www.dns.be/xml/epp/nsgroup-1.0"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd
http://www.dns.be/xml/epp/nsgroup-1.0 nsgroup-1.0.xsd">
<command>
<delete>
<nsgroup:delete>
<nsgroup:name>mynsgroup1</nsgroup:name>
</nsgroup:delete>
</delete>
<clTRID>clientref-00013</clTRID>
</command>
</epp>
In case of successful deletion, the EPP server responds with a standard EPP response message:
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<trID>
<clTRID>clientref-00013</clTRID>
<svTRID>dnsbe-110</svTRID>
</trID>
</response>
</epp>
Note
It is not possible to delete a name server group that is still linked to 1 or more domains.