{
"name": "第二个分组",
"code": "fenzu2",
"description": "这是第二个分组"
}
curl --location --request POST 'https://core.authing.cn/api/v2/groups' \
--header 'Authorization: Bearer eyJhbGci' \
--header 'x-authing-userpool-id: 61b95d6c96d42670da568408' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "第二个分组",
"code": "fenzu2",
"description": "这是第二个分组"
}'
{
"code": 200,
"message": "",
"data": {
"userPoolId": "61b95d6c96d42670da568408",
"code": "fenzu3",
"name": "第三个分组",
"description": "这是第三个分组",
"createdAt": "2022-01-12T05:54:08.333Z",
"updatedAt": "2022-01-12T05:54:08.333Z",
"id": "61de6d006f1bd2a0d2727d49",
"externalId": null
}
}