移动部门
测试中
POST
/api/v2/orgs/nodes/{nodeId}/move
请求参数
Path 参数
nodeId
string
必需
示例值:
onoi9h99oi087g4fw0jf2jfo
Header 参数
Authorization
string
必需
示例值:
Bearer token
x-authing-userpool-id
string
用户池 ID
示例值:
61cc2c7bb686e2767125230d
Body 参数application/x-www-form-urlencoded
orgId
string
组织机构 ID
示例值:
613ef19b62aebcf24c423ff4
targetParentId
string
必需
示例值:
67jn6jknkvfaebcf24c423ff4
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://core.authing.cn/api/v2/orgs/nodes/onoi9h99oi087g4fw0jf2jfo/move' \
--header 'Authorization: Bearer token ' \
--header 'x-authing-userpool-id: 61cc2c7bb686e2767125230d ' \
--data-urlencode 'orgId=613ef19b62aebcf24c423ff4' \
--data-urlencode 'targetParentId=67jn6jknkvfaebcf24c423ff4'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
boolean
必需
示例
{
"code": 200,
"message": "获取成功",
"data": true
}
修改于 2022-03-02 10:26:18