移除成员
测试中DELETE
/api/v2/orgs/nodes/{nodeId}/members/remove请求参数
Path 参数
nodeId
string
节点 ID
示例值:
613828910e822be019eab146
Header 参数
Authorization
string
必需
用户池管理员 Token
示例值:
Bearer token
x-authing-userpool-id
string
用户池 ID
示例值:
61cc2c7bb686e2767125230d
Body 参数application/json
userIds
array[string]
用户 ID 集合
nodeId
string
节点 ID
orgId
string
组织 ID
nodeCode
string
可选
节点 code,可选
示例
{
"userIds": [
"string"
],
"nodeId": "string",
"orgId": "string",
"nodeCode": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
id
string
必需
createdAt
string
必需
updatedAt
string
必需
userPoolId
string
必需
orgId
string
必需
name
string
必需
nameI18n
null
必需
description
null
必需
descriptionI18n
null
必需
order
null
必需
code
null
必需
leaderUserId
null
必需
__id
null
必需
__parentid
null
必需
__groupid
null
必需
path
array[string]
必需
root
boolean
必需
children
array[string]
必需
users
object
必需
示例
{
"code": 200,
"message": "成员删除成功",
"data": {
"id": "61c2ea2375a66595f1106ba2",
"createdAt": "2021-12-22T09:04:35.224Z",
"updatedAt": "2021-12-22T09:04:35.224Z",
"userPoolId": "59f86b4832eb28071bdd9214",
"orgId": "613828910e822be019eab146",
"name": "tebebebee",
"nameI18n": null,
"description": null,
"descriptionI18n": null,
"order": null,
"code": null,
"leaderUserId": null,
"__id": null,
"__parentid": null,
"__groupid": null,
"path": [
"6138289108e2285710efa799",
"61c2ea2375a66595f1106ba2"
],
"root": false,
"children": [],
"users": {
"totalCount": 0,
"list": []
}
}
}
最后修改时间: 3 年前