上传租户组织关系

  • 对应接口URI:POST /api/v1/teewon/tenant

请求参数:

参数名 示例值 说明
userId TWPAAS1200002600220 第三方调用时传入,记录用户操作,方便问题排查
tenant 组合与组织关系
tenant:
参数名 示例值 说明
tenantId “tenant2” 租户ID
orgIdList [“org4”, “org5”] 组织ID列表

返回示例:

正确时返回:

{
    "status": 0,
    "message": "成功",
    "data": null
}

错误时返回:

{
    "status": 1,
    "message": "推送tenant数据不合法",
    "data": null
}
作者:何伟坡  创建时间:2019-12-03 16:35
 更新时间:2022-12-20 14:39