文档中心 > API类目 > 无线安全聚安全云端对外

alibaba.security.jaq.taichuan.group.link (用户添加组接口)

将某个用户添加到某个组内

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
source String 必须 source01 来源
account_id String 必须 account01 用户id
group String 必须 group01 组名

响应参数

名称 类型 示例值 描述
result RpResult {"result":true,"success":true} 返回对象
  • └ result
  • Boolean
  • true
  • 成功与否
  • └ request_id
  • String
  • xxx
  • 请求序列ID
  • err_code
  • RpErrorCode
  • {"error_code":123,"error_name":"name","error_msg":"msg"}
  • 错误码
  • └ error_code
  • Number
  • 123
  • 错误码数值
  • └ error_name
  • String
  • name
  • 错误名称
  • └ error_msg
  • String
  • msg
  • 错误信息
  • └ success
  • Boolean
  • true
  • 成功与否

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityJaqTaichuanGroupLinkRequest req = new AlibabaSecurityJaqTaichuanGroupLinkRequest();
req.setSource("source01");
req.setAccountId("account01");
req.setGroup("group01");
AlibabaSecurityJaqTaichuanGroupLinkResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_jaq_taichuan_group_link_response>
    <result>
        <result>true</result>
        <request_id>xxx</request_id>
        <err_code>
            <error_code>123</error_code>
            <error_name>name</error_name>
            <error_msg>msg</error_msg>
        </err_code>
        <success>true</success>
    </result>
</alibaba_security_jaq_taichuan_group_link_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部