API Documentation

Everything you must know in one place


Enables WhoisGuard privacy protection for the WhoisguardID.

Example Request


Request Parameters

Global parameters are not shown here for clarity, but should be present in all requests

Name Type MaxLength Required? Description
WhoisguardID Number 10 Yes The unique WhoisGuardID which you get
ForwardedToEmail String 70 Yes The email address to which WhoisGuard emails are to be forwarded

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<ApiResponse xmlns="http://api.namecheap.com/xml.response" Status="OK">
  <Errors />
  <Warnings />
  <CommandResponse Type="namecheap.whoisguard.enable">
    <WhoisguardEnableResult DomainName="domain1.com" IsSuccess="true" />

Response Parameters

Name Description
DomainName The domain name for which you are trying to enable WhoisGuard
IsSuccess Indicates whether the WhoisGuard was enabled successfully.

Error Codes

Specifies the error codes that might be returned from this method

Number Description
2011331 WhoisGuard does not exists (or) WhoisGuard is already enabled (or) WhoisGuard is not associated with any domain or) WhoisGuard is not associated with this user
2011369 Error WhoisGuard forwarded Email address is not valid


We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Need help? We're always here for you.

× Close