DOMAIN_PROTECT

Cette commande permet de passer un nom de domaine du statut « active » au statut « protected » et inversement. Un nom de domaine « protected » ne pourra pas être transféré.
Faire un domain_info pour connaitre le statut d’un domaine.

Paramètres entrants Description Type Expression régulière Obligatoire
name Nom de domaine à renouveler String (min 3, max 10) [A-Za-z0-9-\.]{5,68} oui
status Le nouveau statut du domain String (min 5, max 15) Protected ou Active oui


exemple :

commande

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



réponse

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