Get Domain Lock Print

  • 1

domaingetlockingstatus

Purpose

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

Attributes

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

Optional Attributes

Example Command

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

$postfields["action"] = "domaingetlockingstatus";
$postfields["domainid"] = "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


Was this answer helpful?

« Back