Sets the SMTP password for a domain name.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
DomainName String Yes

The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), hyphens (-).

Password String Yes pwd

The password.

Action String No ModifyPWByDomain

The operation that you want to perform. Set the value to ModifyPWByDomain.

Response parameters

Parameter Type Example Description
Code String OK

The status code.

Message String The request is successful.

The description of the status code.

RequestId String 02B2A890-CBD8-4806-9BCA-C93190CE7EF6

The ID of the request.

Success Boolean true

Indicates whether the operation is successful.


Sample requests

http(s):// Action=ModifyPWByDomain
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.