Authorization: Bearer ********************
curl --location -g --request GET 'https://..authok.cn/api/v1/client-grants'
{
"meta": {
"page": 1,
"page_size": 20,
"total": 2
},
"items": [
{
"id": "cgr_32fjfjoeojefoij",
"client_id": "0VE7AnxrbQyR-QnK-F9zBK9SS5RIFHSS",
"audience": "https://order.mydomain/api/v1/",
"scope": [
"read:orders",
"create:orders",
"update:orders",
"delete:orders"
]
},
{
"id": "cgr_fj9e820fjfoeeo",
"client_id": "PP4jMQvceYDxuVmbzMBkQ3A1aX1eHnbX",
"audience": "https://product.mydomain/api/v1/",
"scope": [
"read:products",
"create:products"
]
}
]
}