文档

开发手册

更新时间:
一键部署

本章为您介绍如何对接IoT提供的组织管理能力。

组织管理

接口名称

接口描述

createCompany

创建公司并创建根组织

updateCompany

修改公司信息

deleteCompany

删除公司

queryCompany

分页查询公司

createOrganization

创建组织机构

updateOrganization

修改组织信息

deleteOrganization

删除组织机构

queryOrganizationById

查询组织详情

querySubOrganization

查询子组织机构

queryOrganizationByIdentityId

查询identity所在部门

queryOrganizationIdentity

查询组织成员

addIdentityToOrganization

添加identity到组织机构中

moveIdentityToOrganization

组织间移动identity

deleteIdentityToOrganization

从组织中移除identity

账号管理

接口名称

接口描述

deleteEmployee

删除员工(支持多个删除,数量限制1-50)

queryEmployeeListByEmail

公司ID+邮箱地址模糊查询(分页)

queryEmployeeListByName

公司ID+姓名模糊查询(分页)

queryEmployeeByPhone

根据公司ID和手机号来查找员工

queryEmployeeList

通过identityId查员工info(支持批量)

queryEmployeeListByCompanyId

根据公司ID批量分页查询

modifyEmployeePhone

修改员工的手机号,如果手机号已经在该租户下存在,则不允许修改

modifyEmployee

修改员工的信息

createEmployee

创建员工

权限管理

资源类API

接口名称

接口描述

updateResource

更新资源描述

getResource

获取资源信息

batchDeleteResources

批量删除资源

batchCreateResources

批量创建资源

权限类API

接口名称

接口描述

batchCreatePermissions

批量创建权限点

batchDeletePermissions

批量删除权限

queryPermission

查询权限

authenIdentityPerm

根据权限验权

getPermission

获取权限详情

角色类API

接口名称

接口描述

batchCreateRole

批量创建角色

batchDeleteRole

批量删除角色

bacthAddPermissionToRole

批量给角色关联权限

batchDeletePermissionToRole

批量从角色移除权限

updateRole

更新角色描述

getRole

获取角色详情

queryRole

分页查询角色

授权类API

接口名称

接口描述

batchDeleteRoleToIdentity

批量从identity移除角色

batchAddPermissionToIdentity

批量给identity授予权限

batchDeletePermissionToIdentity

批量从identity移除权限

batchAddRoleToIdentity

批量给identity授予角色

queryIdentityRole

查询identity的角色列表

queryIdentityPermission

查询identity的权限列表

鉴权类API

接口名称

接口描述

authenIdentityPerm

根据权限验权

authenIdentityRole

通过角色验权

  • 本页导读 (0)
文档反馈