API Documentation

Everything you must know in one place

IMPORTANT: Our privacy service provider recently changed to WithheldforPrivacy. We want to avoid service interruption for our API users, so please note that in some cases, you may still see Whoisguard in the API parameter names.


Changes domain privacy email address.

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 domain privacy ID that you wish to change

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.changeEmailAddress">
    <WhoisguardChangeEmailAddressResult ID="5924316" IsSuccess="true" WGEmail="668be12b85d043cf98189a1379eceb12.protect@whoisguard.com" WGOldEmail="d3898bfc391e4f92bae0aa2032c4c00e.protect@whoisguard.com" />

Response Parameters

Name Description
ID The unique integer value that represents domain privacy subscription.
IsSuccess Indicates whether the domain privacy email address was changed successfully.
WGEmail The new domain privacy email address.
WGOldEmail The old domain privacy email address.

Error Codes

Specifies the error codes that might be returned from this method

Number Description
2011331 Domain privacy does not exists (or) domain privacy is not associated with any domain (or) domain privacy is not associated with this user


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