{
"filetype": "json",
"file": {
"name": "string",
"code": "string",
"children": [
{
"code": "string",
"name": "string",
"description": "string"
}
]
}
}
curl --location --request POST 'https://core.authing.cn/api/v2/orgs/import' \
--header 'Authorization: Bearer sdfsdfsdfsdf' \
--header 'x-authing-userpool-id: 61b95d6c96d42670da568408' \
--header 'Content-Type: application/json' \
--data-raw '{
"filetype": "json",
"file": {
"name": "string",
"code": "string",
"children": [
{
"code": "string",
"name": "string",
"description": "string"
}
]
}
}'
{
"code": 200,
"message": "",
"data": {
"userPoolId": "61b95d6c96d42670da568408",
"thirdPartyOrgId": null,
"createdAt": "2022-01-12T09:00:46.843Z",
"updatedAt": "2022-01-12T09:00:46.925Z",
"id": "61de98be49267601119fb83a",
"rootNodeId": "61de98be25bd7eb96892f46c",
"logo": null,
"tenantId": null
}
}