domain_protect

This command is used to change domain status to active or protected. A protected domain cannotbe transferred . Use domain_info command to know the status of a domain.

Inputs Description Type Regular expression Mandatory
name Domaine name String [A-Za-z0-9-\.]{5,68} Yes
status The new domain status String ‘Protected’ or ‘Active’ Yes

 

Command

<api>
[…]
<command>
<domain_protect>
<name>example.com</name>
<status>protected</status>
</domain_protect>
</command>
</api>

Response

<?xml version="1.0" encoding="utf-8"?>
<api>
<response>
<trID>…</trID>
<result code="…">
<msg>…</msg>
</result>
</response>
</api>