curl --location --request GET 'https://core.authing.cn/api/v2/users/me/roles/list-from-admin?id=string' \
--header 'Authorization: Bearer token' \
--header 'x-authing-userpool-id: 61cc2c7bb686e2767125230d'
{
"code": 200,
"message": "获取成功",
"data": {
"list": [
{
"id": "613ee5d86130a1a3d2c4753a",
"createdAt": "2021-09-13T05:47:04.401Z",
"updatedAt": "2021-12-30T08:09:34.478Z",
"userPoolId": "59f86b4832eb28071bdd9214",
"code": "1325",
"description": "二v默认名博日",
"parentCode": null,
"isSystem": false,
"namespaceId": 2,
"namespace": "default",
"arn": "arn:cn:authing:59f86b4832eb28071bdd9214:role:613ee5d86130a1a3d2c4753a",
"parent": null
}
],
"totalCount": 1
}
}