curl --location --request GET 'https://core.authing.cn/api/v2/roles/rgwe' \
--header 'Authorization: Bearer token' \
--header 'x-authing-userpool-id: 59f86b4832eb28071bdd9214'
{
"code": 200,
"message": "查询成功",
"data": {
"id": "61d6b74da45f7f1c910c639d",
"createdAt": "2022-01-06T09:33:01.110Z",
"updatedAt": "2022-01-06T09:33:01.110Z",
"userPoolId": "59f86b4832eb28071bdd9214",
"code": "rgwe",
"description": "eew",
"parentCode": null,
"isSystem": false,
"namespaceId": 2,
"parent": null,
"arn": "arn:cn:authing:59f86b4832eb28071bdd9214:role:61d6b74da45f7f1c910c639d",
"namespace": "default"
}
}