文档
测试

查询用户列表

GET
/api/v1/organizations/{cid}/users

接口描述

- 超级管理员、组织管理员和组织用户可以使用本接口查看本组织内部及其所有部门的用户 注:组织管理员可设置参数resolveServices查看本组织授权的用户可用的服务

请求参数

参数名
类型
描述
必填
cid
string
Organization ID
必填
resolveServices
string
Whether to return the user's available services
可选
unassigned
string
When this parameter is true, only the users who have not been assigned a department are returned
可选
skip
string
Number of skipped results.This is an optional slot to fill in with default value of 0
可选
limit
string
Total number of returned results. This is an optional slot to fill in with default value of 50
可选
filter
string
Rich query conditions, optional
可选
sort
string
Sorting according to query conditions, optional. Sorting methods include ascending (asc) and descending (desc)
可选
resolve
string
需解析的引用字段,选填项,目前支持"mainCompany", "mainOrganization", "roles", "companies", "organizations", "departments"
可选

响应参数

参数名
类型
描述
必填
root
object
Succeed
必填