Delete keygroup[Link]
Purpose
to delete a keygroup.
The structure of the command is identical to that of a <delete> contact:
<keygroup:name> is required. Contains the name of the keygroup.
Please refer to the examples to see a complete request.
Examples[Link]
A delete keygroup command looks like:
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<delete>
<keygroup:delete xmlns:keygroup="http://www.dns.be/xml/epp/keygroup-1.0">
<keygroup:name>keygroup</keygroup:name>
</keygroup:delete>
</delete>
<clTRID>delete-keygroup</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>delete-keygroup</clTRID>
<svTRID>dnsbe-342999</svTRID>
</trID>
</response>
</epp>
Note
It is not possible to delete a keygroup that is still linked to 1 or more domains.