全部產品
Search
文件中心

Quick BI:TransferUsergroup

更新時間:Jul 02, 2026

遷移使用者群組。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

POST  HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

UserGroupId

string

需要遷移的使用者群組 ID。

12qwda****sdada

ParentUserGroupId

string

父使用者群組 ID。

asdasva***123124asdasd

返回參數

名稱

類型

描述

樣本值

object

RequestId

string

請求 ID。

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

Result

boolean

遷移是否成功。

true

Success

boolean

是否請求成功。取值範圍:

  • true:請求成功

  • false:請求失敗

true

樣本

正常返回樣本

JSON格式

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

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 Internal.System.Error An internal system error occurred.
400 Invalid.User.Admin You are not an administrator of this organization.
400 Usergroup.Not.Exist The user group does not exist.
400 UserGroup.Parent.NotFound The parent user group does not exist.
400 DeletePermission.UserBelongsToUsergroup.Error cannot be deleted because user belongs to usergroup: %s.
400 Duplicate.UserGroup.Id Duplicated usergroupId %s.
400 Duplicate.UserGroupName.Error There is already a user group with the same name %s, please rename it before saving.
400 RootUserGroup.Create.Error organization %s has synchronized with other organizational structures, so user groups cannot be created under the root user group.
400 User.CanOnlyAddTo.BIUserGroup User can only add to BI user group.
400 UserGroup.Already.Synchronized Organization has synchronized with other organizational structures, so you are not allowed to add users under group.
400 Usergroup.CannotTransfer.OtherOrganzation usergroup can't be transfered to other organization.
400 Usergroup.CannotTransfer.UnderChildren usergroup can't be transfered to under chidlren.
400 UserGroup.ExceedsLimit.Error User group exceed limit, %s.
400 Usergroup.TransferNotChanged.Error usergroup can't be transfered without any changed.
400 Usergroup.TypeTransfer.NotSupport Unsupported type of user group or target user group.
500 UserGroup.Update.RootNode The root user group cannot be updated.

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情