You can call this operation to update the information of a specified user in Data Management (DMS) Enterprise.

Debugging

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
Action String Yes UpdateUser

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

Tid Long Yes -1

The ID of the tenant in DMS Enterprise.

Uid Long Yes 123456789

The Alibaba Cloud unique ID (UID) of the user to update.

UserNick String Yes test

The nickname of the user.

Mobile String No 188xxxxxxxx

The DingTalk number or mobile number of the user.

RoleNames String No ADMIN and DBA

The roles that the user plays. For more information about the valid values, see the description of the RegisterUser operation.

Response parameters

Parameter Type Example Description
ErrorCode String UnknownError

The error code.

ErrorMessage String UnknownError

The error message.

RequestId String E9BEBF41-4F69-4605-A5D5-A67955173941

The ID of the request.

Success Boolean false

Indicates whether the request was successful.

Examples

Sample requests


http(s)://[Endpoint]/? Action=UpdateUser
&Tid=-1
&Uid=123456789
&UserNick=test
&<Common request parameters>

Sample success responses

XML format

<RequestId>E9BEBF41-4F69-4605-A5D5-A67955173941</RequestId>
<Success>true</Success>

JSON format

{
	"RequestId":"E9BEBF41-4F69-4605-A5D5-A67955173941",
	"Success":true
}

Error codes

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