Updates the information of a specified Ram user.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

Request parameters

Parameter Type Required Example Description
Action String Yes UpdateUser

The operation that you want to perform. Value: UpdateUser .

Tid Long Yes -1

The ID of the tenant.

Note The tenant ID is taken from the tenant ID displayed when you move the pointer on your profile picture. For more information, see View tenant information .
Uid Long Yes 123456789

The Uid of the user to be updated.

UserNick String No test

The nickname of the user.

RoleNames String No ADMIN,DBA

The list of user roles. For more information about role values, see RegisterUser API.

Mobile String No 188xxxxxxxx

The user DingTalk number (mobile phone number).

MaxExecuteCount Long No 1000

Maximum number of queries of the current day.

MaxResultCount Long No 1000

Maximum number of rows queried for the current day.

Response parameters

Parameter Type Sample response Description
ErrorCode String UnknownError

The error codes.

ErrorMessage String UnknownError

The error message of the failure.

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

The unique ID of the API request.

Success Boolean false

Indicates whether the update was successful.


Sample request

     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> 


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

Error codes

For more information about error codes, see error center .