移除成员
测试中
DELETE
/api/v2/orgs/nodes/{nodeId}/members/remove
请求参数
Path 参数
nodeId
string
节点 ID
示例值:
613828910e822be019eab146
Header 参数
Authorization
string
必需
示例值:
Bearer token
x-authing-userpool-id
string
用户池 ID
示例值:
61cc2c7bb686e2767125230d
Body 参数application/json
userIds
array[string]
用户 ID 集合
nodeId
string
节点 ID
orgId
string
组织 ID
nodeCode
string
可选
示例
{
"userIds": [
"string"
],
"nodeId": "string",
"orgId": "string",
"nodeCode": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://core.authing.cn/api/v2/orgs/nodes/613828910e822be019eab146/members/remove' \
--header 'Authorization: Bearer token ' \
--header 'x-authing-userpool-id: 61cc2c7bb686e2767125230d' \
--header 'Content-Type: application/json' \
--data-raw '{
"userIds": [
"string"
],
"nodeId": "string",
"orgId": "string",
"nodeCode": "string"
}'
返回响应
🟢200成功
application/json
Body
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": []
}
}
}
修改于 2022-01-24 06:01:45