DeleteUserGroup接口用于删除指定组织的用户组。
请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 | 
|---|---|---|---|---|
| Action | String | 是 | DeleteUserGroup | 
                               要执行的操作。取值:DeleteUserGroup。  | 
                           
                        
| UserGroupId | String | 是 | f5eeb52e-d9c2-4a8b-80e3-47ab55c2**** | 
                               用户组ID。  | 
                           
                        
返回数据
| 名称 | 类型 | 示例值 | 描述 | 
|---|---|---|---|
| RequestId | String | D787E1A3-A93C-424A-B626-C2B05DF8D885 | 
                               请求ID。  | 
                           
                        
| Result | Boolean | true | 
                               返回接口执行结果。取值范围: 
  | 
                           
                        
| Success | Boolean | true | 
                               是否请求成功。取值范围: 
  | 
                           
                        
示例
请求示例
http(s)://quickbi-public.aliyuncs.com/?Action=DeleteUserGroup
&UserGroupId=f5eeb52e-d9c2-4a8b-80e3-47ab55c2****
&<公共请求参数>
                  正常返回示例
XML格式
                  
<RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>
<Success>true</Success>
<Result>true</Result>
                  JSON格式
                  
{"RequestId":"D787E1A3-A93C-424A-B626-C2B05DF8D885","Success":"true","Result":"true"}
                  错误码
| HttpCode | 错误码 | 错误信息 | 描述 | 
|---|---|---|---|
| 500 | Instance.Expired | Your instance has expired. | 您的购买实例已经过期。 | 
| 500 | Instance.Not.Exist | The specified instance does not exist. | 暂未匹配到您的购买实例。 | 
| 500 | Access.Forbidden | Access forbidden. Your instance version or access key is not allowed to call the API operation. | 访问被禁止,您的实例版本或者 AccessKey不允许调用该 API。 | 
| 500 | Invalid.Organization | The specified organizational unit does not exist. | 该组织不存在。 | 
| 500 | User.Not.In.Organization | The specified user is not in the organizational unit. | 该用户不在组织中。 | 
| 500 | Usergroup.Not.Exist | The user group does not exist. | 用户组不存在。 | 
| 500 | UserGroup.Remove.RootNode | The root user group cannot be deleted. | 根用户组不允许删除。 | 
| 500 | UserGroup.Remove.WithChildren | This user group contains a child user group and cannot be deleted. | 当前用户组包含子用户组,不允许删除。 | 
| 500 | Internal.System.Error | An internal system error occurred. | 系统内部异常。 | 
访问错误中心查看更多错误码。