Update Lock Status

domainupdatelockingstatus

Purpose

This command is used to update the lock state of a domain

Attributes

  • domainid - Domain ID OR
  • domain - The domain name
send domain id *or* domain

Optional Attributes

  • lockstatus - set to 1 to lock the domain, 0 to unlock domain

Example Command

$postfields = array();
$postfields["responsetype"] = "json";

$postfields["action"] = "domaingetlockingstatus";
$postfields["domainid"] = "1";
$postfields["lockstatus"] = "1";

$result = mikrovps_SendCommand( $postfields );

Successful Response

 result = success
lockstatus = xxxxxx

locked, unlocked or Unknown

Error Response

result = error
message = Domain ID Not Found

Domain ID not found in the database

  • 1 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

Domain WHOIS

domainwhois Purpose This command is used to perform a whois lookup on a specified domain....

Update Domain Nameservers

domainupdatenameservers Purpose This command is used to update the nameservers of a domain...

Release Domain

domainrelease Purpose This command is used to send a Release command to the registrar...

Toggle ID Protect

domaintoggleidprotect Purpose This command is used to toggle the ID Protection status of a...

Get Domain WHOIS

domaingetwhoisinfo Purpose This command is used to obtain the WHOIS of a domain from the...