組織内の特定のメンバー情報を更新します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
quickbi-public:UpdateUser |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| UserId |
string |
必須 |
更新する Quick BI ユーザーの ID。これは Alibaba Cloud UID ではありません。 |
fe67f61a35a94b7da1a34ba174a7**** |
| AdminUser |
boolean |
任意 |
ユーザーに組織管理者ロールを割り当てるかどうかを指定します。有効な値は次のとおりです。
重要 このパラメータは非推奨です。RoleIds も指定されている場合、このパラメータは無視されます。 |
true |
| AuthAdminUser |
boolean |
任意 |
ユーザーに権限管理者ロールを割り当てるかどうかを指定します。有効な値は次のとおりです。
重要 このパラメータは非推奨です。RoleIds も指定されている場合、このパラメータは無視されます。 |
true |
| UserType |
integer |
任意 |
組織メンバーのユーザータイプ。有効な値は次のとおりです。
|
1 |
| NickName |
string |
任意 |
ユーザーのニックネーム。
|
test |
| RoleIds |
string |
任意 |
ユーザーに割り当てる組み込みまたはカスタム組織ロールの ID。最大 3 つのロール ID をカンマ区切りで指定します。
|
111111111,456 |
| IsDeleted |
boolean |
任意 |
ユーザーステータス:
|
false |
| CopilotModules |
string |
任意 |
[ { "moduleType": "smartQAskNum", "status": 1 }, { "moduleType": "smartQDevNum", "status": 0 } ] |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
DC4E1E63-B337-44F8-8C22-6F00DF67E2C3 |
| Result |
boolean |
オペレーションが成功したかどうかを示します。有効な値は次のとおりです:
|
true |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値は次のとおりです:
|
true |
例
成功レスポンス
JSONJSON
{
"RequestId": "DC4E1E63-B337-44F8-8C22-6F00DF67E2C3",
"Result": true,
"Success": true
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | NickName.AlreadyIn.Organization | The alias already exists. | ユーザーは組織のメンバーではありません。 |
| 400 | Fobbiden.Action | The organization owner must have the administrator role. | 組織単位のオーナーから管理者ロールを削除することはできません。 |
| 400 | Organization.Developers.ReachedTheUpperLimit | The developers of the organization have reached the upper limit:%s | |
| 400 | Organization.Viewers.ReachedTheUpperLimit | The visitors of the organization have reached the upper limit:%s. | |
| 400 | Organization.Analysts.ReachedTheUpperLimit | The analysts of the organization have reached the upper limit:%s. | |
| 400 | Instance.Over.MaxLicense | You have reached the maximum number of users that can be added. Please upgrade the configurations or remove some users first. | |
| 400 | Mail.Invalid | Email/phone number is invalid. | |
| 400 | OrganizationDeveloper.CanNotChangeTo.AnalystOrViewer | Organization user can not change developer to analyst or viewer. | |
| 400 | OrgAdminOrPermissionAdmin.CannotChangeTo.Viewer | Organization admin or permission admin can not change to viewer. | |
| 400 | ChangeTo.Viewer.Error | The organization user type cannot be changed because the user already belongs to a workspace. | |
| 400 | UserAnalyst.NotSupport.ThisRole | This role has permissions that analysts cannot grant. | |
| 400 | Viewer.CannotHave.CustomRole | Organization viewer cannot have custom roles. | |
| 400 | User.OrganizationRole.NotExist | User %s must have role in organization. | |
| 400 | RoleCount.ExceedsLimit.Error | The user role cannot exceed three. | |
| 400 | BindRole.NotExist.Error | Bind role not exist, %s. | |
| 400 | Robot.Module.Exhausted | The Quota of %s module has been exhausted. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。