Toggle ID Protect

domaintoggleidprotect

Purpose

This command is used to toggle the ID Protection status of a domain, if it's supported.

Note: This operation generating invoice!

Attributes

  • domainid - ID of the domain in WHMCS
  • dprotect - true/false

Example Command

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

$postfields["action"] = "domaintoggleidprotect";
$postfields["domainid"] = "1";
$postfields["idprotect"] = true;

$result = mikrovps_SendCommand( $postfields );

Successful Response

 

Error Response

result = error
message = Domain Not Found

Domain ID not found

result = error
Registrar Error Message
error = xxx

Generic error

  • 1 Els usuaris han Trobat Això Útil
Ha estat útil la resposta?

Articles Relacionats

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...

Get Domain WHOIS

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

Update Lock Status

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