All Products
Search
Document Center

Quick BI:UpdateUser

Last Updated:Nov 04, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Updates the information of a specified member in an organization.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
quickbi-public:UpdateUserupdate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
UserIdstringYes

The ID of the user to be updated. The user ID is the UserID of the Quick BI, not the UID of Alibaba Cloud.

fe67f61a35a94b7da1a34ba174a7****
AdminUserbooleanNo

Indicates whether the organization administrator. Valid values:

  • true
  • false
true
AuthAdminUserbooleanNo

Indicate whether the RAM user is a permission administrator. Valid values:

  • true
  • false
true
UserTypeintegerNo

The type of user who is a member of the organization. Valid values:

  • 1 : developer
  • 2 : visitors
  • 3 : Analyst
1
NickNamestringNo

The nickname of the account.

  • Format check: The value can be up to 50 characters in length.
  • Special format verification: Chinese and English digits_ \ / | () ] [
Xiao Zhang
RoleIdsstringNo

The IDs of the preset or custom organization roles bound to the user, separated by English commas ',', with a maximum of 3. The value range is as follows: - Organization Administrator (preset role): 111111111 - Permission Administrator (preset role): 111111112 - Regular User (preset role): 111111113

111111111,456
IsDeletedbooleanNo

User status:

  • false: Active
  • true: Inactive
false

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

DC4E1E63-B337-44F8-8C22-6F00DF67E2C3
Resultboolean

The execution result of the interface is returned. Valid values:

  • true: The request was successful.
  • false: The request fails.
true
Successboolean

Indicates whether the request is successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "DC4E1E63-B337-44F8-8C22-6F00DF67E2C3",
  "Result": true,
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
400Invalid.User.AdminYou are not an administrator of this organization.Only organization administrators can perform this operation.
400NickName.AlreadyIn.OrganizationThe alias already exists.The alias already exists.
400Fobbiden.ActionThe organization owner must have the administrator role.The organization owner must have the administrator role.
400Invalid.User.OrganizationThe user is not in your organization.The user is not in your organization.
400Organization.Developers.ReachedTheUpperLimitThe developers of the organization have reached the upper limit:%sThe developers of the organization have reached the upper limit:%s
400Organization.Viewers.ReachedTheUpperLimitThe visitors of the organization have reached the upper limit:%s.The visitors of the organization have reached the upper limit:%s.
400Organization.Analysts.ReachedTheUpperLimitThe analysts of the organization have reached the upper limit:%s.The analysts of the organization have reached the upper limit:%s.
400Instance.Over.MaxLicenseYou have reached the maximum number of users that can be added. Please upgrade the configurations or remove some users first.You have reached the maximum number of users that can be added. Please upgrade the configurations or remove some users first.
400Internal.System.ErrorAn internal system error occurred.An internal system error occurred.
400Mail.InvalidEmail/phone number is invalid.-
400OrganizationDeveloper.CanNotChangeTo.AnalystOrViewerOrganization user can not change developer to analyst or viewer.-
400OrgAdminOrPermissionAdmin.CannotChangeTo.ViewerOrganization admin or permission admin can not change to viewer.-
400ChangeTo.Viewer.ErrorThe organization user type cannot be changed because the user already belongs to a workspace.-
400UserAnalyst.NotSupport.ThisRoleThis role has permissions that analysts cannot grant.This role has permissions that analysts cannot grant.
400Viewer.CannotHave.CustomRoleOrganization viewer cannot have custom roles.Organization viewer cannot have custom roles.
400User.OrganizationRole.NotExistUser %s must have role in organization.User %s must have role in organization.
400RoleCount.ExceedsLimit.ErrorThe user role cannot exceed three.The user role cannot exceed three.
400BindRole.NotExist.ErrorBind role not exist, %s.Bind role not exist, %s.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-02-26The Error code has changed. The request parameters of the API has changedView Change Details
2023-08-07The Error code has changedView Change Details