Domain:lock
How to lock a domain
To lock one of your domains send the following request to our API server. All transfer requests for locked domain names are automatically declined. If you want to transfer a locked domain to another registrar, you first have to domain:unlock the domain.
Please note that only a couple of top-level domains support domain locking. You can use to the tld:info request to get further information on a top-level domain. Parse the element tld:LockingEnabled to find out whether domains under a given top-level domain may be locked/unlocked or not.
XML Template - How to unlock a domain
<?xml version="1.0" encoding="UTF-8"?>
<request xmlns:domain="http://www.eurodns.com/domain">
<domain:lock>
<domain:name>#DOMAIN.TLD#</domain:name>
</domain:lock>
</request>
<domain:lock> (Occurrences: 1)
<domain:name> (Occurrences: 1)
R | #DOMAIN.TLD# | Name of the domain to be locked |
If the action was successful, the following code will be returned:
<?xml version="1.0" encoding="UTF-8"?>
<response xmlns="http://www.eurodns.com/">
<result code="1001">
<msg>Command completed successfully, action pending</msg>
</result>
</response>
Legend
O | The element is optional and does not have to be specified in the request and/or answer |
R | The element is mandatory and has to specified in the request and/or answer |