API Documentation

Everything you must know in one place


When you call this API, a link to reset password will be emailed to the end user's profile email id.The end user needs to click on the link to reset password.

NOTE: UserName should be omitted for this API call.All other Global parameters must be included.

Example Requests


Request Parameters

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

Name Type MaxLength Required? Description
FindBy String 20 Yes Possible values:EMAILADDRESS, DOMAINNAME,USERNAME
FindByValue String 20 Yes The username/email address/domain of the user
EmailFromName String 20 No Enter a different value to overwrite the default value
Default Value: namecheap.com
EmailFrom String 20 No Enter a different value to overwrite the default value
Default Value: support@namecheap.com
URLPattern String 20 No Enter a different URL to overwrite namecheap.com. Refer Example Request#2
Default Value: http://namecheap.com [RESETCODE]

Example Response

<?xml version="1.0" encoding="utf-8"?>
<ApiResponse Status="OK" xmlns="http://api.namecheap.com/xml.response">
 <Errors />
 <CommandResponse Type="namecheap.users.resetPassword">
   <UserResetPasswordResult Success="true">

Response Parameters

Name Description
Success Indicates whether the password was reset successfully

Error Codes

Specifies the error codes that might be returned from this method

Number Description
2011315 FindBy is invalid
4027153 Failed to send email
4022335 Unable to reset password
5050900 Unknown exceptions


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