{
"namespace": "string",
"targets": [
{
"targetType": "string",
"targetIdentifier": "string"
}
],
"resourceType": "string"
}
curl --location --request POST 'https://core.authing.cn/api/v2/acl/list-authorized-resources-batch' \
--header 'Authorization: Bearer token' \
--header 'x-authing-userpool-id: 59f86b4832eb28071bdd9214' \
--header 'Content-Type: application/json' \
--data-raw '{
"namespace": "string",
"targets": [
{
"targetType": "string",
"targetIdentifier": "string"
}
],
"resourceType": "string"
}'
{
"code": 200,
"message": "获取被授权的资源成功",
"data": {
"list": [
{
"totalCount": 1,
"list": [
{
"code": "book:*",
"type": "DATA",
"actions": [
"book:read",
"book:write"
],
"apiIdentifier": null
}
]
},
{
"totalCount": 1,
"list": [
{
"code": "order:*",
"type": "DATA",
"actions": [
"order:read",
"order:delete"
],
"apiIdentifier": null
}
]
}
]
}
}