將使用者大量新增到指定的使用者組中。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
quickbi-public:AddUserGroupMembers |
create |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| UserId |
string |
是 |
Quick BI 的使用者識別碼。 |
46e5****37a5 |
| UserGroupIds |
string |
是 |
使用者組 ID,以英文逗號分隔。樣本:aGroupId,bGroupId,cGroupIds |
0d5fb19b-****-****-99da-1248fc27ca51 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
請求 ID。 |
D8749D65-E80A-433C-AF1B-CE9C180FF3B4 |
| Result |
boolean |
介面執行結果。取值範圍:
|
true |
| Success |
boolean |
是否請求成功。取值範圍:
|
true |
樣本
正常返回樣本
JSON格式
{
"RequestId": "D8749D65-E80A-433C-AF1B-CE9C180FF3B4",
"Result": true,
"Success": true
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Invalid.User | The user does not exist and cannot be added to a user group. | 使用者不存在,無法將其添加到使用者組。 |
| 400 | Usergroup.Not.Exist | The user group does not exist. | 使用者組不存在。 |
| 400 | Invalid.Parameter | The length of the parameter must not exceed 1000. | |
| 400 | UserGroup.Already.Synchronized | Organization has synchronized with other organizational structures, so you are not allowed to add users under group. | 該組織已經同步過其他組織架構,因此無法在根使用者組下新增使用者。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。