Changes the password of the source or destination database account.


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

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyDtsJobPassword

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

DtsJobId String Yes l3m1213ye7l****

The ID of the data migration, data synchronization, or change tracking task.

Endpoint String No src

Specifies the database to which the password belongs. Valid values:

  • src: source database
  • dest: destination database
Note This parameter must be specified.
UserName String No dtstest

The account of the source or destination database.

Note This parameter must be specified.
Password String No Test123456

The new password of the account.

Note This parameter must be specified and cannot be the same as the current password.
RegionId String No cn-hangzhou

The ID of the region where the DTS instance resides. For more information, see List of supported regions.

Response parameters

Parameter Type Example Description
Code String 200

The error code. This parameter will be removed in the future.

DynamicMessage String DtsJobId

The dynamic part in the error message. This parameter is used to replace the %s variable in the ErrMessage parameter.

Note If the return value of the ErrMessage parameter is The Value of Input Parameter %s is not valid and the return value of the DynamicMessage parameter is DtsJobId, the specified DtsJobId parameter is invalid.
ErrCode String InternalError

The error code returned if the call failed.

ErrMessage String The Value of Input Parameter %s is not valid.

The error message returned if the call failed.

HttpStatusCode Integer 200

The HTTP status code.

RequestId String 8C498360-7892-433C-847A-BA71A850****

The ID of the request.

Success Boolean true

Indicates whether the call was successful.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

  "RequestId": "8C498360-7892-433C-847A-BA71A850****",
  "HttpStatusCode": 200,
  "Success": true

Error codes

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