明道企业授权开放接口文档

明道企业授权开放接口文档


根据账号移除汇报关系

<p><strong>简要描述:</strong> </p> <ul> <li>根据账号移除汇报关系</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>{Host}/v2/open/structure/removeStructures</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST (application/json)</li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">subordinates</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string[]</td> <td>需要移除的成员邮箱或手机号集合</td> </tr> </tbody> </table> <p><strong>提交数据示例</strong></p> <pre><code>{ "subordinates": [ "string" ], "appKey": "string", "sign": "string", "timestamp": 0, "projectId": "string" }</code></pre> <p><strong>返回数据说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">success</td> <td style="text-align: left;">bool</td> <td>操作是否成功</td> </tr> <tr> <td style="text-align: left;">error_code</td> <td style="text-align: left;">int</td> <td>错误代码,1代表成功</td> </tr> <tr> <td style="text-align: left;">error_msg</td> <td style="text-align: left;">string</td> <td>错误消息</td> </tr> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">string[]</td> <td>部分移除失败的成员集</td> </tr> </tbody> </table> <p><strong>处理成功</strong></p> <pre><code>{ "error_code": 1, "success": true }</code></pre> <p><strong>部分添加失败 返回数据示例</strong></p> <pre><code>{ "data": [ "demo1@mingdao.com" ], "error_code": 1, "success": true }</code></pre> <p><strong>处理失败</strong></p> <pre><code>{ "error_msg": "错误描述", "error_code": 10, "success": false }</code></pre>

页面列表

ITEM_HTML